oapi-codegen
oapi-codegen copied to clipboard
Generate Go client and server boilerplate from OpenAPI 3 specifications
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.112.0 to 0.113.0. Release notes Sourced from github.com/getkin/kin-openapi's releases. v0.113.0 What's Changed openapi3: remove email string format by @zekth in getkin/kin-openapi#727 openapi3filter: support for allOf request schema...
Hi, I'm getting an error handling requests for the following definition: ``` openapi: 3.0.0 info: title: Example paths: /products: get: operationId: listProducts parameters: - name: filter in: query style: deepObject...
Closes https://github.com/deepmap/oapi-codegen/issues/712 --- From https://swagger.io/specification/#discriminator-object. In scenarios where the value of the discriminator field does not match the schema name or implicit mapping is not possible, an optional mapping definition...
OpenAPI 3.1 supports sibling properties to allOf. It would be very useful if the following schema was supported by the codegen. Now it just ignores the required property. ```yaml User:...
This change adds the x-oapi-codegen-middlewares extension tag for the chi server and a new TaggedMiddleware field to the server interface. This makes it possible for users to define middlewares that...
When generating server mocks or clients we often only need specific operations to be included. Right now we workaround this issue by having unique operation tags, but this has various...
Hi guys, I am getting the following error `error generating code: error creating operation definitions: error generating response definitions: error turning reference (#/paths/~1me~1/put/responses/400) into a Go type: unexpected reference depth:...
Hello, If the yaml spec is splitted in 2 files as follows: - api.yaml: paths that refers to `models.yaml#components/schemas/XXX` - models.yaml: components that re sub component `#components/schemas/YYY` At startup the...
Use a template for parsing response instead of `genResponseUnmarshal` allowing users to customise or fix quickly without having to wait for a code change and new release of `oapi-codegen`. This...
allow fetching individual files from git repos ssh + https + local file + plain https w/o git - local files - plain http/s where the response contains the api...