Bureaucrat.SwaggerSlateMarkdownWriter.write_models
You're seeing just the function
write_models
, go back to Bureaucrat.SwaggerSlateMarkdownWriter module for more information.
Link to this function
write_models(file, swagger)
Writes the API request/response model schemas to the given file.
This corresponds to the definitions section of the swagger document. Each top level definition will be written as a table. Nested objects are flattened out to reduce the number of tables being produced.