The Swagger Spec has provision for describing a model.
However, the existing Swagger-UI project doesn’t seem to consume it or display the model.
Looking at the Petstore Demo, I see that a model is served, but can’t see it displayed.
Am I missing something? Or is it just not supported yet?
Update: swagger models visible in build 1.1.5 of swagger-ui.
The models aren’t shown in the UI right now but are used for the swagger code generator [1]. They’ll be in the UI soon though and used for operations like POST, PUT and DELETE, as well as a cleaner way to visualize the GET responses.