From 23b2719be5171bf705cfc9a5ce77b5b1e2d3ce64 Mon Sep 17 00:00:00 2001 From: Tommi Reiman Date: Tue, 14 Mar 2023 21:09:03 +0200 Subject: [PATCH] add version to swagger api --- examples/http-swagger/src/example/server.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/http-swagger/src/example/server.clj b/examples/http-swagger/src/example/server.clj index 072eb79d..5f3d876c 100644 --- a/examples/http-swagger/src/example/server.clj +++ b/examples/http-swagger/src/example/server.clj @@ -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