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 an item in a list of $ref's under oneOf is excluded by x-version-addded it becomes null.
$ref
oneOf
x-version-addded
null
_common.mapping:Property
oneOf: - $ref: '#/components/schemas/GeoShapeProperty' - $ref: '#/components/schemas/XyPointProperty'
XyPointProperty: x-version-added: '2.4'
npm run merge -- --opensearch-version=2.0.0
oneOf: - $ref: '#/components/schemas/_common.mapping:GeoShapeProperty' - null
No null in the oneOf.
Coming from #531.
The text was updated successfully, but these errors were encountered:
dblock
Successfully merging a pull request may close this issue.
What is the bug?
If an item in a list of
$ref
's underoneOf
is excluded byx-version-addded
it becomesnull
.How can one reproduce the bug?
_common.mapping:Property
with `x-version-added: 2.4'.npm run merge -- --opensearch-version=2.0.0
. This will generate an incorrect OpenAPI spec.What is the expected behavior?
No
null
in theoneOf
.Do you have any additional context?
Coming from #531.
The text was updated successfully, but these errors were encountered: