Skip to content

Allow responses with no content #63

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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