(swagger-ui)(swagger-ui options)Returns a (async-)ring handler which can be used to serve swagger-ui. Takes the following options:
:client-id, :realm and :app-nameReturns a (async-)ring handler which can be used to serve swagger-ui. Takes the following options: - **:path** the root path for the swagger-ui, Defaults to "/" - **:root** the root prefix to get resources from. Default 'swagger-ui' - **:swagger-docs** the endpoint to get swagger data from. Default '/swagger.json' - **:oauth2** map with oauth2 params, namely `:client-id`, `:realm` and `:app-name` - Other options are passed as is to SwaggerUi constructor. Map keys are renamed to camelCase.
(wrap-swagger-ui handler)(wrap-swagger-ui handler options)Middleware to serve the swagger-ui.
Middleware to serve the swagger-ui.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |