Skip to content

Commit d07a9d0

Browse files
authored
Merge pull request #106 from benhowes/patch-1
Dont use value for determining any type
2 parents 7da0c98 + 3d29268 commit d07a9d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openapi_core/schema/schemas/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class Schema(object):
4949
}
5050

5151
TYPE_VALIDATOR_CALLABLE_GETTER = {
52-
SchemaType.ANY: lambda x: x,
52+
SchemaType.ANY: lambda x: True,
5353
SchemaType.BOOLEAN: TypeValidator(bool),
5454
SchemaType.INTEGER: TypeValidator(integer_types, exclude=bool),
5555
SchemaType.NUMBER: TypeValidator(integer_types, float, exclude=bool),

0 commit comments

Comments
 (0)