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/