Search code examples
swaggerswagger-uiapi-designswagger-2.0swagger-editor

Swagger UI - How to Show a List of Models by themselves


In the Swagger Editor example, http://editor.swagger.io/#/, there is a "Models" section later on in the rendered document after the endpoints are shown. Is this only a feature of this editor to see how things are looking at you define them, or is this also possible to display all models in Swagger UI?

(It would be really great if they could be also displayed outside of the endpoint information, especially for models that are defined but not used yet...so collaborators can see what's coming.)


Solution

  • According to https://github.com/swagger-api/swagger-ui/issues/1052 this is now part of 3.0.