Skip to content

Invalid response status code default (not a number), response will be ommitted from generated client #632

Closed as not planned
@gzll

Description

@gzll

Describe the bug
Invalid response status code default (not a number), response will be ommitted from generated client

To Reproduce
openapi-python-client generate --url https://petstore3.swagger.io/api/v3/openapi.json

Desktop (please complete the following information):

  • OS: Windows 10
  • Python Version: 3.9.1
  • openapi-python-client version 0.11.3

Additional context

Generating swagger-petstore-open-api-3-0-client
Warning(s) encountered while generating. Client was generated, but some pieces may be missing

WARNING parsing POST /user within user.

Invalid response status code default (not a number), response will be ommitted from generated client


WARNING parsing POST /user/createWithList within user.

Invalid response status code default (not a number), response will be ommitted from generated client


WARNING parsing GET /user/logout within user.

Invalid response status code default (not a number), response will be ommitted from generated client


WARNING parsing PUT /user/{username} within user.

Invalid response status code default (not a number), response will be ommitted from generated client

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions