-
-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Description
Given:
schema = {"format": "byte"}or
schema = {"format": "binary"}Then:
from openapi_schema_validator import validate
from openapi_schema_validator import OAS30Validator
validate(1.23, schema, cls=OAS30Validator, format_checker=OAS30Validator.FORMAT_CHECKER)Result:
ValidationError: 1.23 is not a 'byte'Expected:
It should ignore other types and pass
Metadata
Metadata
Assignees
Labels
No labels