Skip to content

Allow responses with no content #63

@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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions