-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OAS 3.0: schema inheritance overwrites $ref definition #1498
Comments
Invalid. Should use |
It should produce a validation warning that anything other than the $ref will be ignored. |
Sorry of OT, How do you guys get source that support openapi 3.0?
|
@hungnd, make sure your openapi property is |
@shockey thank for your response. I wrote |
Demonstration API definition
Configuration (browser query string, constructor, config.yaml)
Expected Behavior
EntityListResponse
andExceptionResponse
should inheritversion
field fromResponse
.EntityListResponse
for HTTP 200 OK should not show any exception properties, but ratherEntity
properties.Current Behavior
EntityListResponse
for 200 OK example shows in the editor as exception:Possible Solution
Context
The text was updated successfully, but these errors were encountered: