Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\strainu\code\apliclient\datamodel.py", line 61, in get
return self.api.call_queryAllNodeTypes()
File "C:\Python39\lib\site-packages\openapi3\openapi.py", line 242, in __call__
return self.operation(self.base_url, *args, security=self.security, **kwargs)
File "C:\Python39\lib\site-packages\openapi3\paths.py", line 397, in request
return expected_media.schema.model(result.json())
File "C:\Python39\lib\site-packages\openapi3\schemas.py", line 157, in model
return self.get_type()(data, self)
File "C:\Python39\lib\site-packages\openapi3\schemas.py", line 297, in __init__
setattr(self, k, object_schema.model(v))
File "C:\Python39\lib\site-packages\openapi3\schemas.py", line 157, in model
return self.get_type()(data, self)
File "C:\Python39\lib\site-packages\openapi3\schemas.py", line 134, in get_type
{"__slots__": self.properties.keys()}, # pylint: disable=attribute-defined-outside-init
AttributeError: 'NoneType' object has no attribute 'keys'
Fixing this immediate error exposes other follow-up errors.
Describe the solution you'd like
I would like to have support for such schemas, as they are standard-compliant. I am aware that this is considered a security risk
Is your feature request related to a problem? Please describe. I'm trying to parse the following the following spec:
This fails with:
Fixing this immediate error exposes other follow-up errors.
Describe the solution you'd like I would like to have support for such schemas, as they are standard-compliant. I am aware that this is considered a security risk