vorwerg-ni
vorwerg-ni

Reputation: 177

Is there a way to show "Example Value" and "Schema" next to each other in swagger/openAPI 3.0 documentation?

I have a swagger documentation written with swagger and openAPI 3.0. In the generated documentation of the request (and also response) it shows the "Example Value" and "Schema" as tabs of which you can choose either one or the other. Like this:

Example Value and Schema Tabs

Is there a way to show the "Example Value" and "Schema" next to each other instead of tabs such that you can see both immediately when you open the Request without clicking somewhere? Because otherwise the "Schema" is easily overseen and the developer may think that the "Example Value" is the only information they have for the request...

Upvotes: 1

Views: 684

Answers (1)

Chamindu
Chamindu

Reputation: 183

There is no straight forward way as far as I know. But there are workarounds to be used once you implement swagger parsers using different programming languages.

Upvotes: 0

Related Questions