Skip to content

BUG: Unmarshalling nullable objects #232

Closed
@berislavlopac

Description

@berislavlopac

According to my tests, the latest openapi-core release (0.13.3 at the time of this writing) is ignoring the nullable keyword when unmarshalling an object, so it fails here:

  File "/home/berislav/.virtualenvs/tm/lib/python3.7/site-packages/openapi_core/unmarshalling/schemas/unmarshallers.py", line 201, in _unmarshal_properties
    value_props_names = value.keys()
AttributeError: 'NoneType' object has no attribute 'keys'

I will write a quick minimum test case when I have a minute, opening this now if someone can take a look.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions