mirror of
https://github.com/metosin/reitit.git
synced 2025-12-17 00:11: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"
|
||||
{:get {:no-doc true
|
||||
: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
|
||||
:securityDefinitions {"auth" {:type :apiKey
|
||||
:in :header
|
||||
|
|
|
|||
Loading…
Reference in a new issue