Skip to content

docs: add openapi-code-generator #532

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

Merged
merged 6 commits into from
Jun 17, 2025
Merged

Conversation

mnahkies
Copy link
Contributor

adds https://github.com/mnahkies/openapi-code-generator/ / https://openapi-code-generator.nahkies.co.nz/ to the list.

it currently supports generating typescript client sdks based on fetch / axios, and server routing / request+response validation based on koa (choice of zod / joi for runtime validation).

an experimental nextjs server implementation is in the works (mnahkies/openapi-code-generator#152), and my longer term plan is to add other languages such as kotlin to the set of templates.

adds https://github.com/mnahkies/openapi-code-generator/ / https://openapi-code-generator.nahkies.co.nz/ to the list.

it currently supports generating typescript client sdks based on fetch / axios, and server routing / request+response validation based on koa (choice of zod / joi for runtime validation).

an experimental nextjs server implementation is in the works (mnahkies/openapi-code-generator#152), and my longer term plan is to add other languages such as kotlin to the set of templates.
Copy link

vercel bot commented Jul 28, 2024

@mnahkies is attempting to deploy a commit to the APIs You Won't Hate Team on Vercel.

A member of the Team first needs to authorize it.

@mnahkies mnahkies changed the title docs: add openapi-code-generator. docs: add openapi-code-generator Jul 28, 2024
@mnahkies
Copy link
Contributor Author

@philsturgeon any chance you could take a look at this please?

It's still pre-v1 and not everything is supported, but its mature enough that it's been successfully used for a number of projects.

Tested that the build works fine locally:
image

@philsturgeon
Copy link
Collaborator

@mnahkies thank you for your patience. I can see you're putting a lot of work in here, so I'm happy to merge it. Thanks for using the Train Travel example too, hope that PR makes it in. Down with the Pet Store!

@philsturgeon philsturgeon merged commit 13c217a into apisyouwonthate:main Jun 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants