Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to OpenAPI Generator #25

Closed
slifty opened this issue May 20, 2024 · 0 comments · Fixed by #26
Closed

Move to OpenAPI Generator #25

slifty opened this issue May 20, 2024 · 0 comments · Fixed by #26
Assignees

Comments

@slifty
Copy link
Member

slifty commented May 20, 2024

We've been facing some issues with swagger codegen at the core library level (objects mapping to any, and lack of support for 3.1)

In looking for solutions, I've found that there is a much more active equivalent to swagger codegen: OpenAPI Generator. It looks like most of the community has moved into that project, and you can see a much more vibrant list of maintainers and commits!

It appears to be built from swagger codegen, so I don't think migration will be too tough?

https://github.com/OpenAPITools/openapi-generator/blob/master/docs/customization.md

slifty added a commit that referenced this issue May 22, 2024
The Swagger Codegen project was forked a few years back and the majority
of the community moved over to the forked version [1].  This explains
why we were facing some odd issues and a lack of support for the Open
API specification 3.1

Moving to this more maintained version of the codegen project will
immediately result in some bug fixes (specifically, `object` will be
mapped to `object` instead of `any`).  It will also allow us to use 3.1
in our api specification.

Eventually this change may allow us to leverage community-defined
typescript templates instead of our own custom templates.

Issue #25

[1] https://github.com/OpenAPITools/openapi-generator/blob/master/docs/qna.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done & Cleared
Development

Successfully merging a pull request may close this issue.

1 participant