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

OpenAPI 3.0 Validator allows byte as string type #64

Open
p1c2u opened this issue Feb 1, 2023 · 0 comments
Open

OpenAPI 3.0 Validator allows byte as string type #64

p1c2u opened this issue Feb 1, 2023 · 0 comments

Comments

@p1c2u
Copy link
Collaborator

p1c2u commented Feb 1, 2023

Only string should be allowed.

Type Checker:
https://github.com/p1c2u/openapi-schema-validator/blob/master/openapi_schema_validator/_types.py#L13

Test:
https://github.com/p1c2u/openapi-schema-validator/blob/master/tests/integration/test_validators.py#L64

This will be breaking change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant