Back

create-swagger-handler (clj)

(source)

function

(create-swagger-handler)
Create a ring handler to emit swagger spec. Collects all routes from router which have an intersecting `[:swagger :id]` and which are not marked with `:no-doc` route data.

Examples