BlueBird v0.3.8 BlueBird.Writer.Swagger

Defines functions to convert BlueBird.ApiDoc struct into a Swagger json string.

Link to this section Summary

Functions

Generates a Swagger json string from a BlueBird.ApiDocs{} struct

Generates a map representation from a BlueBird.ApiDocs{} struct

Link to this section Functions

Link to this function generate_output(api_docs)
generate_output(BlueBird.ApiDoc.t) :: String.t

Generates a Swagger json string from a BlueBird.ApiDocs{} struct.

Link to this function paths_object(routes)
paths_object([BlueBird.Route.t]) :: map
Link to this function swagger_object(api_docs)
swagger_object(BlueBird.ApiDoc.t) :: map

Generates a map representation from a BlueBird.ApiDocs{} struct.