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

Swagger codegen support for OpenAPI 3.1

Open foramkumar-parekh opened this issue 1 year ago • 7 comments

Description

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

foramkumar-parekh avatar Aug 09 '23 14:08 foramkumar-parekh

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

jgcarmona-com avatar Aug 22 '23 15:08 jgcarmona-com

Any chance of 3.1.x support being added soon?

AX-LLaidley avatar Nov 01 '23 17:11 AX-LLaidley

Any news?

EmhyrVarEmreis avatar Nov 28 '23 23:11 EmhyrVarEmreis

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?

dpalic avatar Dec 25 '23 16:12 dpalic

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

ivanfeanor avatar Mar 27 '24 10:03 ivanfeanor

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 avatar Mar 27 '24 22:03 slifty

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.

slifty avatar May 23 '24 17:05 slifty