Bureaucrat.Helpers.doc
You're seeing just the macro
doc
, go back to Bureaucrat.Helpers module for more information.
Adds a conn to the generated documentation.
The name of the test currently being executed will be used as a description for the example.
Adds a conn to the generated documentation
The description, and additional options can be passed in the second argument:
Examples
conn = conn()
|> get("/api/v1/products")
|> doc("List all products")
conn = conn()
|> get("/api/v1/products")
|> doc(description: "List all products", operation_id: "list_products")