I'm using swagger a lot. All day I'm working with multiple micro APIs and have several swagger tabs open.
And one thing that constantly happen is getting confused by the "Responses" section of the endpoint.
I think there is 3 issues:
This is a UX issue, as several times I'm just confused by what is displayed and I need to look harder and take a few seconds to understand what is displayed (and complain mentally ^^).
Possible solutions would be:
Both would be very useful but a collapsible "Responses" section would help a lot and not disrupt too much the UI.
Few examples of the issue :
The "default" display (before running) looks too much as if there was already a 200 response.
The first thing you see is "Responses" / "200" / "Successful operation", it is quite easy to be confused, and you may need a couple of seconds to process.

The actual response has mostly 2 differences : the title ("Server response" instead of "Responses"), and the curl/request url
But it is not enough to make it visually stand out.

Moreover, the difference between the actual response and the examples is not visible enough (I shrank the response bodies for the screenshot) :

make the "Responses" section more visually different from the actual response
This is discussed in #6548
Most helpful comment
This is discussed in #6548