openapi-python-client icon indicating copy to clipboard operation
openapi-python-client copied to clipboard

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

Open gzll opened this issue 3 years ago • 0 comments

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

gzll avatar Jun 13 '22 02:06 gzll