You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
swagger: "2.0"info:
title: OAS2 response examplesversion: 1.0.0paths:
/foo1:
get:
summary: Response without a schema but with examplesproduces:
- application/jsonresponses:
200:
description: Successful responseexamples:
application/json:
foo: bar
Describe the bug you're encountering
The "Model" tab of the response displays a copy of the response description. This makes it look as if the response schema is an object containing the description property, and may confuse the documentation users.
This issue cannot be tested in the latest version 3.23.0 because of #5458.
Expected behavior
If the response does not have schema, the "Model" tab should be empty or should not be displayed at all.
Screenshots
The text was updated successfully, but these errors were encountered:
Q&A (please complete the following information)
Content & configuration
Example Swagger/OpenAPI definition:
Describe the bug you're encountering
The "Model" tab of the response displays a copy of the response
description
. This makes it look as if the response schema is an object containing thedescription
property, and may confuse the documentation users.This issue cannot be tested in the latest version 3.23.0 because of #5458.
Expected behavior
If the response does not have
schema
, the "Model" tab should be empty or should not be displayed at all.Screenshots
The text was updated successfully, but these errors were encountered: