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
As per the OpenAPI specification, it is allowed with wildcard http response codes (like 2xx, 3xx). Orval does not seem to support this.
https://learn.openapis.org/specification/paths.html#the-responses-object
Given openapi-spec with wildcard response codes:
/api/v1/users/me: get: tags: - user-resource summary: Fetch some metadata about the current logged in user operationId: getLoggedInUser responses: "2xx": description: Successful content: application/json: schema: $ref: '#/components/schemas/UserDto' "4xx": description: Errors content: application/json: schema: $ref: '#/components/schemas/ErrorDto'
Orval seems to fail with #/paths/~1api~1v1~1users~1me/get/responses must NOT have additional properties
#/paths/~1api~1v1~1users~1me/get/responses must NOT have additional properties
Not failing, but rather support the wildcard http response codes.
Package Version: 6.17.0
The text was updated successfully, but these errors were encountered:
Its a bug in Swagger Validator you can try it here youself: https://apitools.dev/swagger-parser/online/
I opened a ticket there: APIDevTools/swagger-parser#252
Sorry, something went wrong.
No branches or pull requests
As per the OpenAPI specification, it is allowed with wildcard http response codes (like 2xx, 3xx). Orval does not seem to support this.
https://learn.openapis.org/specification/paths.html#the-responses-object
What are the steps to reproduce this issue?
Given openapi-spec with wildcard response codes:
What happens?
Orval seems to fail with
#/paths/~1api~1v1~1users~1me/get/responses must NOT have additional properties
What were you expecting to happen?
Not failing, but rather support the wildcard http response codes.
What versions are you using?
Package Version: 6.17.0
The text was updated successfully, but these errors were encountered: