Liking cljdoc? Tell your friends :D

route-swagger.doc


annotateclj

(annotate doc obj)

Inputs: [doc :- spec/Operation obj]

Attaches swagger documentation to an object

Inputs: [doc :- spec/Operation obj]

Attaches swagger documentation to an object
sourceraw docstring

annotationclj

Gets documentation from an annotated object

Gets documentation from an annotated object
sourceraw docstring

pathsclj

(paths route-table)

Inputs: [route-table] Returns: SwaggerPaths

Generates swagger paths from an expanded route table. This function can also be used to generate documentation offline or for easy debugging (turning schema checks on).

Inputs: [route-table]
Returns: SwaggerPaths

Generates swagger paths from an expanded route table.
This function can also be used to generate documentation offline or for easy
debugging (turning schema checks on).
sourceraw docstring

SwaggerPathsclj

sourceraw docstring

with-swaggerclj

(with-swagger route-table)
(with-swagger route-table docs)

Attaches swagger information as a meta key to each documented route. The context passed to each interceptor has a reference to the selected route, so information like request and response schemas and the swagger object can be retrieved from its meta.

Attaches swagger information as a meta key to each documented route. The
context passed to each interceptor has a reference to the selected route, so
information like request and response schemas and the swagger object can be
retrieved from its meta.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close