add version to swagger api

This commit is contained in:
Tommi Reiman 2023-03-14 21:09:03 +02:00
parent 25b75c877a
commit 23b2719be5

View file

@ -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