Provides a Ring middleware which can serve swagger.json generated from the API config as well as Swagger UI to view it. Note that we're ignoring reflection warnings as they don't matter in dev mode, and in production all schemas are (should be) parsed only once.
Provides a Ring middleware which can serve swagger.json generated from the API config as well as Swagger UI to view it. Note that we're ignoring reflection warnings as they don't matter in dev mode, and in production all schemas are (should be) parsed only once.
(build-handler config)
Returns a Ring handler which returns auto-generated swagger json, based on the Duckula config
Returns a Ring handler which returns auto-generated swagger json, based on the Duckula config
(with-docs api-config)
Builds a Ring handler - just like reqular duckula.handler but also attaches the following routes (by default): /~docs/ui - to load the bundled Swagger UI /~docs/swagger.json - to return swagger.json built from Duckula config
Builds a Ring handler - just like reqular duckula.handler but also attaches the following routes (by default): /~docs/ui - to load the bundled Swagger UI /~docs/swagger.json - to return swagger.json built from Duckula config
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close