Experimental OpenAPI code generator for Go
Repo oapi-codegen/oapi-codegen-exp, read from GitHub 1 min ago. oapi-codegen has not joined Take My Repo.
This is the first release of oapi-codegen-exp. The documentation is still lacking, but it's thoroughly tested and pretty robust
at this point. Please see the README.md for new features. You will need to look at the examples and at the main Configuration structure to see how to configure the code generator.
Differences relative to oapi-codegen:
examples/webhookexamples/callbackruntime package dependency by default. Necessary runtime code is embedded into your generated code. This is wasteful if you have lots of specs in one place, so the code generator can emit a local runtime package for you, or you can use the one which we provide under /runtime, which is generated just as a user would do it.