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
Running vacuum lint -dz openapi.yml always reports the post-response-success rule as an error.
As you can see from the reproduction spec included at the end of this message, a '200' response is present.
The warning includes the following message: 'postResponseSuccess' function has invalid options supplied. Example valid options are 'properties' = [200,201,300]: minimum property number not met (1)
If the '200' response is not present, linting will also report a warning on the operation-success-response rule correctly as expected. This rule seems to be a superset of post-response-success though, making the latter rule seem redundant.
Additionally, running vacuum dashboard -z openapi.yml and navigating to Operations > Check POST operations for success response panics:
Running
vacuum lint -dz openapi.yml
always reports thepost-response-success
rule as an error.As you can see from the reproduction spec included at the end of this message, a
'200'
response is present.The warning includes the following message:
'postResponseSuccess' function has invalid options supplied. Example valid options are 'properties' = [200,201,300]: minimum property number not met (1)
If the
'200'
response is not present, linting will also report a warning on theoperation-success-response
rule correctly as expected. This rule seems to be a superset ofpost-response-success
though, making the latter rule seem redundant.Additionally, running
vacuum dashboard -z openapi.yml
and navigating toOperations > Check POST operations for success response
panics:Minimal spec to reproduce
The text was updated successfully, but these errors were encountered: