oapi-codegen
oapi-codegen copied to clipboard
Generate Go client and server boilerplate from OpenAPI 3 specifications
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | golang.org/x/text | `v0.18.0` -> `v0.19.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/)...
I had a similar requirement as in issue #1454 and discussion #1460 a while a go and implemented the following solution. This is likely not of the necessary quality for...
This is completely correct OpenAPI doc, but the error is occured. ```yaml schema: allOf: - $ref: '#/components/schemas/TaskSortEnum' - default: -createdAt ``` result ```console $ oapi-codegen /tmp/openapi.yaml error generating code: error...
This is an improved version of @jKiler's #1534. Credit to them for getting this started. My main addition is getting the codegen for `FromFoo` and `MergeFoo` to work better in...
I am using the strict server and I would like to define a specific response return to the client and also an internal error. The strict server interface looks like...
I would like to use two schemas in oneOf with discriminator. I have several enum values for each discriminator fields in schemas. So can I use discriminator like this? ```...
https://github.com/oapi-codegen/nullable/issues/11 Would be for _new_ things, and would allow us - in the future - to introduce a breaking change to clean it up
The goal of this PR is to be able to provide additional Initialisms to the generator. Initialism like SSN or PTO should not be in camel case for example ###...
I've reviewed the README file and found it to be very informative and helpful. However, I would like to suggest adding a Table of Contents at the beginning of the...
It is hard to initialize types with nested objects, because the nested objects don't have a type. For example: ``` "TransactionResponse" : { "type" : "object", "description" : "Type with...