mirror of
https://github.com/metosin/reitit.git
synced 2025-12-18 17:01:11 +00:00
add version to swagger api
This commit is contained in:
parent
25b75c877a
commit
23b2719be5
1 changed files with 2 additions and 1 deletions
|
|
@ -43,7 +43,8 @@
|
||||||
[["/swagger.json"
|
[["/swagger.json"
|
||||||
{:get {:no-doc true
|
{:get {:no-doc true
|
||||||
:swagger {:info {:title "my-api"
|
:swagger {:info {:title "my-api"
|
||||||
:description "swagger-docs with reitit-http"}
|
:description "swagger-docs with reitit-http"
|
||||||
|
:version "0.0.1"}
|
||||||
;; used in /secure APIs below
|
;; used in /secure APIs below
|
||||||
:securityDefinitions {"auth" {:type :apiKey
|
:securityDefinitions {"auth" {:type :apiKey
|
||||||
:in :header
|
:in :header
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue