Skip to content
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

Support Pattern Response Status Codes (2XX, 3XX, 4XX, and 5XX) #158

Closed
wolffc opened this issue Feb 28, 2022 · 0 comments · Fixed by #159
Closed

Support Pattern Response Status Codes (2XX, 3XX, 4XX, and 5XX) #158

wolffc opened this issue Feb 28, 2022 · 0 comments · Fixed by #159
Labels
enhancement New feature or request

Comments

@wolffc
Copy link
Contributor

wolffc commented Feb 28, 2022

According to Open Api Specification 3.0.0 and above
the Response Object alows to describe Error Responses in
https://spec.openapis.org/oas/v3.0.0.html#patterned-fields-0

but the validation currently fails for schemas describing Status ranges.

wolffc added a commit to wolffc/openapi-psr7-validator that referenced this issue Feb 28, 2022
@scaytrase scaytrase added the enhancement New feature or request label Feb 28, 2022
wolffc added a commit to wolffc/openapi-psr7-validator that referenced this issue Mar 1, 2022
Test Different Response Adresses and check if the correct
Response Schema is Found

thephpleague#158
wolffc added a commit to wolffc/openapi-psr7-validator that referenced this issue Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants