Skip to content

Releases: oapi-codegen/oapi-codegen-exp

Initial release of experimental oapi-codegen with OpenAPI 3.2 support

15 Apr 02:17
894a40e

Choose a tag to compare

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:

  • Different underlying OpenAPI parser which supports OpenAPI 3.1 and 3.2.
  • Webhook support, see examples/webhook
  • Callback support, see examples/callback
  • There is no runtime 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.