Solved
Forum Discussion
mhiggins
Staff
also: please try moving the ErrorModel to Components > Responses.
DEF1963
4 years agoOccasional Contributor
The previos example was Swagger 2.0. no components.responses then.
I created a new domain in Openapi 3.0 and new API, tryint to reference response. The same result:
Domain:
####################
# Common responses
####################
responses:
GeneralError:
description: An error occurred
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorModel':
Following you advice I have generated support ticket.
Related Content
Recent Discussions
- 4 days agokj20nt