We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 501694c + a16162f commit 70f05b2Copy full SHA for 70f05b2
openapi_core/unmarshalling/schemas/factories.py
@@ -1,4 +1,4 @@
1
-from copy import deepcopy
+from copy import copy
2
import warnings
3
4
from openapi_schema_validator import OAS30Validator, oas30_format_checker
@@ -89,7 +89,7 @@ def get_validator(self, schema):
89
return OAS30Validator(schema.__dict__, **kwargs)
90
91
def _get_format_checker(self):
92
- fc = deepcopy(oas30_format_checker)
+ fc = copy(oas30_format_checker)
93
for name, formatter in self.custom_formatters.items():
94
fc.checks(name)(formatter.validate)
95
return fc
0 commit comments