We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7da0c98 + 3d29268 commit d07a9d0Copy full SHA for d07a9d0
openapi_core/schema/schemas/models.py
@@ -49,7 +49,7 @@ class Schema(object):
49
}
50
51
TYPE_VALIDATOR_CALLABLE_GETTER = {
52
- SchemaType.ANY: lambda x: x,
+ SchemaType.ANY: lambda x: True,
53
SchemaType.BOOLEAN: TypeValidator(bool),
54
SchemaType.INTEGER: TypeValidator(integer_types, exclude=bool),
55
SchemaType.NUMBER: TypeValidator(integer_types, float, exclude=bool),
0 commit comments