-
Notifications
You must be signed in to change notification settings - Fork 91
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
Incorrect validation occuring due to property using "enum" as a property name #490
Comments
@briangleeson Do you still see this problem in the latest version of the validator? |
@padamstx I just tried with latest version and still see the same warnings
|
@briangleeson Looks like you posted the SDK Generator version 🙂 but I imagine you meant you tried with the latest validator version? |
Oops yeah got the tools mixed up, but same problem with latest validator
|
@briangleeson I was able to reproduce but identified this issue is coming from a Spectral rule called |
Version:
[email protected]
The validator comes back with a warning for the content of some of our example responses:
This is arising in 9 places in our API yaml. The full yaml file can be seen here
This is one example:
Schema for the enum:
It seems like the fact we are using the term
enum
for one of the properties in our API schema is confusing the validatorThe text was updated successfully, but these errors were encountered: