anonymous před 1 rokem
rodič
revize
e14744a196
3 změnil soubory, kde provedl 6 přidání a 3 odebrání
  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 Zobrazit soubor

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

parses a codebase and generates an OpenAPI doc

+ 2
- 2
src/main/clj/gen/core.clj Zobrazit soubor

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


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


src/main/clj/scan/lang/php/laravel5.clj → src/main/clj/scan/lang/php/laravel.clj Zobrazit soubor

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



Načítá se…
Zrušit
Uložit