We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If we have following spec:
openapi: 3.0.1 info: title: API description: API version: LATEST paths: /test-path: post: requestBody: required: true content: text/plain: schema: type: string responses: 200: description: OK content: application/json: schema: $ref: 'definitions.yaml#/components/schemas/Response'
And corresponding definitions.yaml:
definitions.yaml
components: schemas: Response: type: array items: oneOf: - $ref: '#/components/schemas/ProductRow' discriminator: propertyName: type mapping: 'product': '#/components/schemas/ProductRow' ProductRow: type: object additionalProperties: false required: - type properties: type: $ref: '#/components/schemas/ProductsRowType' payload: type: string ProductsRowType: type: string enum: - product
ExternalRefProcessor will fail to resolve all necessary references, which results in only Response model being loaded.
ExternalRefProcessor
Response
The text was updated successfully, but these errors were encountered:
[PR] (#2072)
Sorry, something went wrong.
fixed in #2072, thanks!
frantuma
No branches or pull requests
If we have following spec:
And corresponding
definitions.yaml
:ExternalRefProcessor
will fail to resolve all necessary references, which results in onlyResponse
model being loaded.The text was updated successfully, but these errors were encountered: