`TypeError: unhashable type: 'dict'` validating K8S v1.18 openapi.json
arcivanov opened this issue · 1 comments
arcivanov commented
File being validated is https://raw.githubusercontent.com/kubernetes/kubernetes/release-1.18/api/openapi-spec/swagger.json
Failure occurs with ref
being {'type': 'string'}
.
Example of the portion of the schema that won't validate:
...
"io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps": {
"description": "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).",
"properties": {
"$ref": {
"type": "string"
},
"$schema": {
"type": "string"
},
"additionalItems": {
"$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool"
},
"additionalProperties": {
"$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool"
},
...
Traceback (most recent call last):
File "/snipped-path/src/main/python/project/app.py", line 387, in main
app.run()
File "/snipped-path/src/main/python/project/app.py", line 241, in run
self._run_handlers(KtorPlugin.handle_start, False, context)
File "/snipped-path/src/main/python/project/app.py", line 274, in _run_handlers
h_f(*args, **kwargs)
File "/snipped-path/src/main/python/project/k8s/__init__.py", line 44, in handle_start
validate_v2_spec(p_json, p_uri)
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/shortcuts.py", line 7, in validate
return validator_callable(spec, spec_url=spec_url)
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/validators.py", line 47, in validate
for err in self.iter_errors(spec, spec_url=spec_url):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 58, in wrapper
for err in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/validators.py", line 56, in iter_errors
for err in validator.iter_errors(spec):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 22, in wrapped
for res in func(validator, schema_element, instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 282, in properties
for error in validator.descend(
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 22, in wrapped
for res in func(validator, schema_element, instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 263, in ref
for error in validator.descend(instance, resolved):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 22, in wrapped
for res in func(validator, schema_element, instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 23, in patternProperties
for error in validator.descend(
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 22, in wrapped
for res in func(validator, schema_element, instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 263, in ref
for error in validator.descend(instance, resolved):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 22, in wrapped
for res in func(validator, schema_element, instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 282, in properties
for error in validator.descend(
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 22, in wrapped
for res in func(validator, schema_element, instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 263, in ref
for error in validator.descend(instance, resolved):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 22, in wrapped
for res in func(validator, schema_element, instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 282, in properties
for error in validator.descend(
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 22, in wrapped
for res in func(validator, schema_element, instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 263, in ref
for error in validator.descend(instance, resolved):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 22, in wrapped
for res in func(validator, schema_element, instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 23, in patternProperties
for error in validator.descend(
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 22, in wrapped
for res in func(validator, schema_element, instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 263, in ref
for error in validator.descend(instance, resolved):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 22, in wrapped
for res in func(validator, schema_element, instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 337, in oneOf
errs = list(validator.descend(instance, subschema, schema_path=index))
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 22, in wrapped
for res in func(validator, schema_element, instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 263, in ref
for error in validator.descend(instance, resolved):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 22, in wrapped
for res in func(validator, schema_element, instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 282, in properties
for error in validator.descend(
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 35, in wrapped
for res in func(validator, schema_element, target, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 337, in oneOf
errs = list(validator.descend(instance, subschema, schema_path=index))
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 22, in wrapped
for res in func(validator, schema_element, instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 263, in ref
for error in validator.descend(instance, resolved):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 22, in wrapped
for res in func(validator, schema_element, instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 282, in properties
for error in validator.descend(
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 22, in wrapped
for res in func(validator, schema_element, instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 49, in additionalProperties
for error in validator.descend(instance[extra], aP, path=extra):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 22, in wrapped
for res in func(validator, schema_element, instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 263, in ref
for error in validator.descend(instance, resolved):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 22, in wrapped
for res in func(validator, schema_element, instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 282, in properties
for error in validator.descend(
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 35, in wrapped
for res in func(validator, schema_element, target, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 322, in anyOf
errs = list(validator.descend(instance, subschema, schema_path=index))
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 22, in wrapped
for res in func(validator, schema_element, instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 263, in ref
for error in validator.descend(instance, resolved):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 22, in wrapped
for res in func(validator, schema_element, instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 282, in properties
for error in validator.descend(
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 22, in wrapped
for res in func(validator, schema_element, instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 49, in additionalProperties
for error in validator.descend(instance[extra], aP, path=extra):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 35, in wrapped
for res in func(validator, schema_element, target, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 263, in ref
for error in validator.descend(instance, resolved):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 22, in wrapped
for res in func(validator, schema_element, instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 282, in properties
for error in validator.descend(
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 22, in wrapped
for res in func(validator, schema_element, instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 49, in additionalProperties
for error in validator.descend(instance[extra], aP, path=extra):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 22, in wrapped
for res in func(validator, schema_element, instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 263, in ref
for error in validator.descend(instance, resolved):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 22, in wrapped
for res in func(validator, schema_element, instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 282, in properties
for error in validator.descend(
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 35, in wrapped
for res in func(validator, schema_element, target, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 322, in anyOf
errs = list(validator.descend(instance, subschema, schema_path=index))
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 22, in wrapped
for res in func(validator, schema_element, instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 263, in ref
for error in validator.descend(instance, resolved):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 22, in wrapped
for res in func(validator, schema_element, instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 282, in properties
for error in validator.descend(
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 22, in wrapped
for res in func(validator, schema_element, instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 49, in additionalProperties
for error in validator.descend(instance[extra], aP, path=extra):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 35, in wrapped
for res in func(validator, schema_element, target, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 263, in ref
for error in validator.descend(instance, resolved):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 22, in wrapped
for res in func(validator, schema_element, instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 282, in properties
for error in validator.descend(
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 22, in wrapped
for res in func(validator, schema_element, instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 49, in additionalProperties
for error in validator.descend(instance[extra], aP, path=extra):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 35, in wrapped
for res in func(validator, schema_element, target, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 263, in ref
for error in validator.descend(instance, resolved):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 22, in wrapped
for res in func(validator, schema_element, instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/_validators.py", line 282, in properties
for error in validator.descend(
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 344, in descend
for error in self.iter_errors(instance, schema):
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "/home/arcivanov/.pyenv/versions/project/lib/python3.9/site-packages/openapi_spec_validator/decorators.py", line 29, in wrapped
if ref in self.visiting:
TypeError: unhashable type: 'dict'
arcivanov commented
Wrong project, oops.