Browse Source

add README

master
anonymous 1 year ago
parent
commit
e14744a196
3 changed files with 6 additions and 3 deletions
  1. +3
    -0
      README.md
  2. +2
    -2
      src/main/clj/gen/core.clj
  3. +1
    -1
      src/main/clj/scan/lang/php/laravel.clj

+ 3
- 0
README.md View File

@@ -0,0 +1,3 @@
# oai-gen

parses a codebase and generates an OpenAPI doc

+ 2
- 2
src/main/clj/gen/core.clj View File

@@ -1,7 +1,7 @@
(ns gen.core
(:require [clojure.string :as str]
[clj-yaml.core :as yaml]
[scan.lang.php.laravel5]))
[scan.lang.php.laravel]))

(def
^{}
@@ -19,7 +19,7 @@
[
{:url "thing"}]
:paths
(scan.lang.php.laravel5/routes (first args))}
(scan.lang.php.laravel/routes (first args))}
:dumper-options {:indent 2
:indicator-indent 1
:flow-style :block}))))


src/main/clj/scan/lang/php/laravel5.clj → src/main/clj/scan/lang/php/laravel.clj View File

@@ -1,4 +1,4 @@
(ns scan.lang.php.laravel5
(ns scan.lang.php.laravel
(:require [clojure.string :as str]
[clojure.java.io :as io]))


Loading…
Cancel
Save