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

Following changes in #1068 and related to #1254, should look at adding this to #1075

documentation
new server

In the client-with-responses template if you have have pkg b ```yaml components: responses: 200: description: "OK" content: 'application/json': schema: $ref: '#/components/schemas/Document' schemas: Document: type: object properties: fields: type: object additionalProperties:...

area:external-refs

Related to #1254 and https://github.com/deepmap/oapi-codegen/blob/dd082985a9b6e8f68472987f6c2c60fea5e59871/README.md?plain=1#L969-L978

documentation

Via: > Probably not for this PR, but it would make sense to not prune code that is used in dependent APIs by default, instead of having to set this...

documentation

I.e.: > We have chosen to focus on [Echo](https://github.com/labstack/echo) as our default HTTP routing engine, due to its speed and simplicity for the generated stubs. [Chi](https://github.com/go-chi/chi), [Gin](https://github.com/gin-gonic/gin), [gorilla/mux](https://github.com/gorilla/mux), [Fiber](https://github.com/gofiber/fiber), and...

documentation

I am defining a path parameter that is a string with format date-time. This means that if I invoke the endpoint properly my request library will encode path parameters and...

The PR enables [`unparam`](https://golangci-lint.run/usage/linters/#unparam) linter and addresses lint issues. The linter has identified a significant amount of unused code that can be easily deleted without affecting functionality. The whole log...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [gopkg.in/yaml.v2](https://togithub.com/go-yaml/yaml) | `v2.4.0` -> `v3.0.1` | [![age](https://developer.mend.io/api/mc/badges/age/go/gopkg.in%2fyaml.v2/v3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/setup-go](https://togithub.com/actions/setup-go) | action | major | `v3` -> `v5` | ---...

dependencies

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/checkout](https://togithub.com/actions/checkout) | action | major | `v3` -> `v4` | ---...