oapi-codegen
oapi-codegen copied to clipboard
Generate Go client and server boilerplate from OpenAPI 3 specifications
Following changes in #1068 and related to #1254, should look at adding this to #1075
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:...
Related to #1254 and https://github.com/deepmap/oapi-codegen/blob/dd082985a9b6e8f68472987f6c2c60fea5e59871/README.md?plain=1#L969-L978
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...
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...
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...
[](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` | [](https://docs.renovatebot.com/merge-confidence/)...
[](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` | ---...
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/checkout](https://togithub.com/actions/checkout) | action | major | `v3` -> `v4` | ---...