oapi-codegen icon indicating copy to clipboard operation
oapi-codegen copied to clipboard

Generate Go client and server boilerplate from OpenAPI 3 specifications

Results 633 oapi-codegen issues
Sort by recently updated
recently updated
newest added

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/stretchr/testify](https://togithub.com/stretchr/testify) | `v1.8.4` -> `v1.9.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fstretchr%2ftestify/v1.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

dependencies

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/getkin/kin-openapi](https://togithub.com/getkin/kin-openapi) | `v0.122.0` -> `v0.123.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgetkin%2fkin-openapi/v0.123.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

dependencies

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/golangci/golangci-lint](https://togithub.com/golangci/golangci-lint) | `v1.56.1` -> `v1.56.2` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgolangci%2fgolangci-lint/v1.56.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

dependencies

related: https://github.com/deepmap/oapi-codegen/issues/1009 in the Echo framework, query binding is performed using the struct tag query, as detailed in Echo's documentation on struct tag binding (https://echo.labstack.com/guide/binding/#struct-tag-binding). If you are using oapi-codegen...

### Issue Error occurs when $ref refers to a property of another object. This feature can be useful because it allows you to edit the properties of an object in...

enhancement

The following recursive definition of an object generates a stack overflow error. I am not sure, whether this valid according to the OpenAPI specification. However, it would at least be...

Affected version: v2.0.0 When request body type and scheme are parts of `$ref`erenced components and generated in separate package, the type alias for request body type is missing import. Minimal...

Hello I've enhanced the echo template to include an extra middleware parameter. This variadic parameter, while optional, empowers users to incorporate one or multiple middlewares into the generated handlers.

When generating `types,client` for the [openai openapi spec](https://github.com/openai/openai-openapi/tree/6b64280c3db0082cbafa34495b9f3a3a58eb960d), I see many errors similar to this example: Duplicate types ```golang // CreateChatCompletionResponse Represents a chat completion response returned by model, based...

bug
has-workaround

Hi, Definition (Swagger 3.0.3) ```yaml requestBody: content: multipart/form-data: schema: type: object properties: file: type: string format: binary ``` Tested on oapi-codegen v1.9.0, 2.0.0, 2.1.0 and echo When using the Swagger...