From be23cd169e54a668f670f34185a9e1cc6e51c5da Mon Sep 17 00:00:00 2001 From: Juho Teperi Date: Tue, 24 Mar 2020 11:19:00 +0200 Subject: [PATCH] Fix swagger :tags docstring --- doc/ring/swagger.md | 2 +- modules/reitit-swagger/src/reitit/swagger.cljc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/ring/swagger.md b/doc/ring/swagger.md index da18e632..cf45e231 100644 --- a/doc/ring/swagger.md +++ b/doc/ring/swagger.md @@ -20,7 +20,7 @@ The following route data keys contribute to the generated swagger specification: | --------------|-------------| | :swagger | map of any swagger-data. Can have `:id` (keyword or sequence of keywords) to identify the api | :no-doc | optional boolean to exclude endpoint from api docs -| :tags | optional set of strings of keywords tags for an endpoint api docs +| :tags | optional set of string or keyword tags for an endpoint api docs | :summary | optional short string summary of an endpoint | :description | optional long description of an endpoint. Supports http://spec.commonmark.org/ diff --git a/modules/reitit-swagger/src/reitit/swagger.cljc b/modules/reitit-swagger/src/reitit/swagger.cljc index 3ff90932..64a9c8c8 100644 --- a/modules/reitit-swagger/src/reitit/swagger.cljc +++ b/modules/reitit-swagger/src/reitit/swagger.cljc @@ -29,7 +29,7 @@ | --------------|-------------| | :swagger | map of any swagger-data. Must have `:id` (keyword or sequence of keywords) to identify the api | :no-doc | optional boolean to exclude endpoint from api docs - | :tags | optional set of strings of keywords tags for an endpoint api docs + | :tags | optional set of string or keyword tags for an endpoint api docs | :summary | optional short string summary of an endpoint | :description | optional long description of an endpoint. Supports http://spec.commonmark.org/