apisyouwonthate / openapi.tools

A collection of Editors, Linters, Parsers, Code Generators, Documentation, Testing
https://openapi.tools
MIT License
696 stars 325 forks source link

docs: add openapi-code-generator #532

Open mnahkies opened 3 months ago

mnahkies commented 3 months ago

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 (https://github.com/mnahkies/openapi-code-generator/pull/152), and my longer term plan is to add other languages such as kotlin to the set of templates.

vercel[bot] commented 3 months ago

@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 commented 1 month ago

@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