Swagger interface - how to show a list of models yourself

In the example of the Swagger Editor http://editor.swagger.io/#/, in the rendering section, after the endpoints are displayed, the “Models” section will appear. Is this just a feature of this editor to see how it all looks at you, or it Is it also possible to display all models in the Swagger interface?

(It would be great if they were also displayed outside of the endpoint information, especially for models that are defined but not yet in use ... so employees can see what happens.)

+4
source share
1 answer

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

+1
source

Source: https://habr.com/ru/post/1657741/


All Articles