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
We have recently started getting violations reported from Zally such as:
MUST Path parameters validation Parameter blocklist_id: "content" property should have exactly one entry https://github.com/zalando/zally/blob/master/server/rules.md#z001-path-parameters-validation components > parameters > BlocklistId (lines 31-40)
The corresponding path parameter has a schema property. The OpenAPI spec defines schema and content to be mutually exclusive. So this is simply wrong.
schema
content
The link in the error message is also wrong and doesn't provide an explanation on this anywhere on the linked page.
The text was updated successfully, but these errors were encountered:
@dneuhaeuser-zalando could you give a schema example?
Sorry, something went wrong.
Merge pull request #1269 from zalando/gh-1268-fix-content-validation
a343dbe
Fix `content` field validation
Successfully merging a pull request may close this issue.
We have recently started getting violations reported from Zally such as:
The corresponding path parameter has a
schema
property. The OpenAPI spec definesschema
andcontent
to be mutually exclusive. So this is simply wrong.The link in the error message is also wrong and doesn't provide an explanation on this anywhere on the linked page.
The text was updated successfully, but these errors were encountered: