For transmute routes, transmute-core provides functionality for documentation generation via Swagger. This is performed by reading the models as described in the serialization section.
The swagger apis are dependent on the framework, so refer the documentation for that project. In general, a function to generate a swagger html page and a swagger.json is provided.