swagger-api / swagger-codegen

swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.
http://swagger.io
Apache License 2.0
16.93k stars 6.03k forks source link

Swagger codegen support for OpenAPI 3.1 #12210

Open foramkumar-parekh opened 1 year ago

foramkumar-parekh commented 1 year ago
Description

By when can we expect the swagger codegen to support the OAS 3.1

jgcarmona-com commented 1 year ago

Without a code generation tool OpenAPI 3.1.x seems useless.

AX-LLaidley commented 11 months ago

Any chance of 3.1.x support being added soon?

EmhyrVarEmreis commented 10 months ago

Any news?

dpalic commented 9 months ago

having the same issues. After doing some research it looks like swagger has integrated it already mid of 2023? https://swagger.io/blog/swagger-supports-openapi-3-1/ and https://github.com/swagger-api/swagger-core/wiki/Swagger-2.X---OpenAPI-3.1 Do I have a lack of understanding? IMHO the openapi 3.1 shall work already?

ivanfeanor commented 6 months ago

Would be great to have an approximate estimation when it could be done, just to align our development plans

slifty commented 6 months ago

It looks like the v3 code base is using swagger core version 2.2.20 -- I thought that supported OAS 3.1, but I'm definitely seeing issues (specifically, types are falling into any rather than being properly mapped).

slifty commented 4 months ago

I've learned that the issue is that this repo is not maintained as much by the community; for our project to get 3.1 support we switched over to OpenAPI Generator which is a much more reliably maintained fork of this code base.