瀏覽代碼

add README

master
anonymous 1 年之前
父節點
當前提交
e14744a196
共有 3 個檔案被更改,包括 6 行新增3 行删除
  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 查看文件

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

parses a codebase and generates an OpenAPI doc

+ 2
- 2
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}))))


src/main/clj/scan/lang/php/laravel5.clj → 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]))


Loading…
取消
儲存