Skip to content

Allow responses with no content #63

Closed
@acgray

Description

@acgray

Empty API responses are allowed by the OpenAPI spec but currently cause an error when parsing a schema which uses them:

https://github.com/triaxtec/openapi-python-client/blob/master/openapi_python_client/openapi_parser/responses.py#L82-L83

Instead, they should be supported, probably returning None as the response.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions