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
To fix this issue we should also remove the hard requirement of having a Schema to attempt adding a MediaType to the converted Response. The schema field in v2 is optional. One could be defining examples while not providing a schema.
The text was updated successfully, but these errors were encountered:
When translating v2 spec into v3, the
openapi2.Response.examples
property is not converted intoopenapi3.Response.Content[mime].Examples
.Reproducible test case:
To fix this issue we should also remove the hard requirement of having a
Schema
to attempt adding aMediaType
to the convertedResponse
. Theschema
field in v2 is optional. One could be defining examples while not providing a schema.The text was updated successfully, but these errors were encountered: