v2.14.0
New features
This release contains two significant new OpenAPIv2 generator features, contributed by @krak3n:
- A new option to disable rendering of 200 OK responses. This is useful if you define custom responses for your endpoints and you modify the return code a forward response writer. Note that this does not change the behavior of the gateway itself.
- A new annotation for defining header parameters. This lets to define header parameters you want to be rendered in the swagger.json output in addition to those defined in your API messages. Note that this does not change the behavior of the gateway itself and must be coupled with custom header parsing in your application.
What's Changed
- release: Update release.yml with option to workaround SLSA generator failure by @asraa in #2987
- release: add a workflow_dispatch trigger for testing by @asraa in #2989
- Use io/os instread of ioutil and use suitable verb by @sashamelentyev in #2991
- runtime pkg cleanup by @sashamelentyev in #2993
- mux: fix path components mutation by @jonathaningram in #3001
- fix: set consumes definition per operation by @stomy13 in #2995
- protoc gen oas v2 cleanup by @sashamelentyev in #2996
- Use ReplaceAll instead of Replace with -1 pos by @sashamelentyev in #3003
- Errors cleanup by @sashamelentyev in #3004
- Cleanup by @sashamelentyev in #3012
- Support disabling default response rendering by @krak3n in #3006
- Support request header parameters by @krak3n in #3010
New Contributors
- @asraa made their first contribution in #2987
- @sashamelentyev made their first contribution in #2991
- @stomy13 made their first contribution in #2995
- @krak3n made their first contribution in #3006
Full Changelog: v2.13.0...v2.14.0