oapi-codegen
oapi-codegen copied to clipboard
Generate Go client and server boilerplate from OpenAPI 3 specifications
When no pet is found the examples pet store implementations are returning `null` as the http response body as opposed to empty array (`[]`). Since the zero value of a...
The following changes were made to the genResponseUnmarshal function to fix #1329. - Responses field is enumerated instead of typeDefinitions and the condition to suppress the generation of case statements...
As titled; Please to consider: We are able to change the name of the client; but would be also amazing to let the `NewClient` be custom. I just made a...
This PR contains a fix for #1306.
To resolve issue #1263, this PR make that fields in request parameter struct are always pointer, even if x-go-type-skip-optional-pointer is true.
This is useful when working with extending APIs I'm opening this as draft as it's missing: - [ ] Docs - [ ] More tests This is useful for us...
The reason for this change is the HTTP request object has information that the error handler can use. In our project we make use of the URL path in the...
Add code to convert objects containing additionalProperties in strict server to the original type before encoding to correctly JSON-encode them. This PR is fix for #1250 And this PR requires...
Not at all complete, still a lot of breakage and missing pieces, but for the most part, we're still generated-code-compatible. A possible solution for #373. Will **not** close #373.
I would like to have a way to define the date format from my own code.