(ring-swagger handlers info)
Inputs: [handlers info] Returns: rs2/Swagger
Creates a ring-swagger object out of handlers and extra info
Inputs: [handlers info] Returns: rs2/Swagger Creates a ring-swagger object out of handlers and extra info
(swagger-handler swagger options)
Creates a handler, that serves the swagger-spec
Creates a handler, that serves the swagger-spec
(swagger-object ring-swagger options)
Inputs: [ring-swagger :- rs2/Swagger options :- k/KeywordMap]
Creates a Swagger-spec object out of ring-swagger object and ring-swagger options.
Inputs: [ring-swagger :- rs2/Swagger options :- k/KeywordMap] Creates a Swagger-spec object out of ring-swagger object and ring-swagger options.
(swagger-ui {:keys [ui spec] :as options})
Inputs: [{:keys [ui spec], :as options}]
Ring handler for the Swagger UI
Inputs: [{:keys [ui spec], :as options}] Ring handler for the Swagger UI
(transform-handler handler)
Transforms a handler into ring-swagger path->method->operation map.
Transforms a handler into ring-swagger path->method->operation map.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close