You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Getting a weird error on schemas generated by API Platform. This is same as reported at APIDevTools/swagger-cli#83 with addition of allowEmptyValue. Without it, it doesn't reproduce.
To Reproduce
Run spectral lint with spectral:oas ruleset on following schema
9:25 error oas3-schema "someParameter" property must not have unevaluated properties. servers[0].variables.someParamete
Expected behavior
No errors
Environment (remove any that are not applicable):
Library version: 6.14.1
OS: MacOS 15.1
Additional context
Apparently, this issue doesn't happen if you either change version from 3.1.0 to 3.0.0, or remove allowEmptyValue
The text was updated successfully, but these errors were encountered:
ostrolucky
changed the title
False positive: "0" property must not have unevaluated properties.
False positive: "someParameter" property must not have unevaluated properties
Nov 15, 2024
Describe the bug
Getting a weird error on schemas generated by API Platform. This is same as reported at APIDevTools/swagger-cli#83 with addition of
allowEmptyValue
. Without it, it doesn't reproduce.To Reproduce
Run
spectral lint
withspectral:oas
ruleset on following schemawill get you
Expected behavior
No errors
Environment (remove any that are not applicable):
Additional context
Apparently, this issue doesn't happen if you either change version from
3.1.0
to3.0.0
, or removeallowEmptyValue
The text was updated successfully, but these errors were encountered: