From e14744a19692e8035cc0fe86eb1e057f52322b38 Mon Sep 17 00:00:00 2001 From: anonymous Date: Sat, 24 Sep 2022 12:22:30 +0200 Subject: [PATCH] add README --- README.md | 3 +++ src/main/clj/gen/core.clj | 4 ++-- src/main/clj/scan/lang/php/{laravel5.clj => laravel.clj} | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 README.md rename src/main/clj/scan/lang/php/{laravel5.clj => laravel.clj} (98%) diff --git a/README.md b/README.md new file mode 100644 index 0000000..9620b6e --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# oai-gen + +parses a codebase and generates an OpenAPI doc \ No newline at end of file diff --git a/src/main/clj/gen/core.clj b/src/main/clj/gen/core.clj index 6b9db6a..c4d2027 100644 --- a/src/main/clj/gen/core.clj +++ b/src/main/clj/gen/core.clj @@ -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})))) diff --git a/src/main/clj/scan/lang/php/laravel5.clj b/src/main/clj/scan/lang/php/laravel.clj similarity index 98% rename from src/main/clj/scan/lang/php/laravel5.clj rename to src/main/clj/scan/lang/php/laravel.clj index 29afce8..674ee75 100644 --- a/src/main/clj/scan/lang/php/laravel5.clj +++ b/src/main/clj/scan/lang/php/laravel.clj @@ -1,4 +1,4 @@ -(ns scan.lang.php.laravel5 +(ns scan.lang.php.laravel (:require [clojure.string :as str] [clojure.java.io :as io]))