-
-
Notifications
You must be signed in to change notification settings - Fork 242
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
Bug related to additionalProperties and oneOf #1347
Comments
@P0lip Does spectral support objects in additionalProperties? |
Hi, I was able to solve this issue by adding a required field in the schema. |
Adding all properties as
However, this should also validate fine:
Instead, this yields |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
A clear and concise description of what the bug is.
Spectral is showing the error
oas3-valid-oas-content-example
in a scenario that I didn't expectTo Reproduce
Expected behavior
I'm pretty sure I specified the example correctly and it shouldn't return an error
Environment (remove any that are not applicable):
The text was updated successfully, but these errors were encountered: