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.
1 parent db5d825 commit 3d29268Copy full SHA for 3d29268
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