swagger-codegen icon indicating copy to clipboard operation
swagger-codegen copied to clipboard

OAS 3.1 support?

Open samson0v opened this issue 1 year ago • 0 comments

Description

When I tried to generate a Python client using the Swagger config file, field types were replaced with object like this: image

So it seems that the current stable version of swagger codegen doesn't support OAS 3.1.

Swagger-codegen version

3.0.57 (also tired on 3.0.46)

Swagger declaration file content or url

https://gist.githubusercontent.com/samson0v/49ee3b75e34f82a61be6e1d5a1d59129/raw/82658684b4719fdbf77fc402864c5570a50ed9b4/swagger-ce.json

Command line used for generation

swagger-codegen generate -i swagger-ce.json -l python -o /tmp/api_ce/

samson0v avatar Jun 19 '24 11:06 samson0v