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

I am looking to extend the template functions of the cli tool, and the issue below stated that `TemplateFunctions` is exported, but does that imply that the solution is to...

This PR make that the empty check code in custom json.Marshaler to emulate the behavior of omitempty is generated correctly. Empty field determination will be performed even in read-only properties....

In Fiber strict server, when the response definition in another spec file is referenced from the operation, fix that the first letter of the package name in generated codes is...

Platform: MacOS Sonoma 14.1 (23B73) Go Version: 1.21.3 oapi-codegen: Tried 1.14, 1.15, 1.16.2 It worked on 1.15 but then I updated to 1.16.2 and since then it's being killed even...

awaiting reply

- Bump fiber version to 2.52.0 - Adopted middleware template for fiber to handle new GetReqHeader() method, that has changed signature in fiber 2.50.0 (https://github.com/gofiber/fiber/releases/tag/v2.50.0) Fixes #1341

Reference implementation to cater to the use-cases I described in #150 ## Notes Fixes https://github.com/deepmap/oapi-codegen/issues/150

Super low priority but seeing: ```go // Code generated by github.com/deepmap/oapi-codegen/v2 version v2.0.0 DO NOT EDIT. ``` Whereas it'd be nice to remove the `/v2` as it's clear from the...

internal

To fix issue #1301, when header is optional, field for this is generate as pointer type. When this field is nil, corresponding header is not set in functions Visit*. However,...

Fix broken code when response content is not exist, but response headers are exist in Iris strict server. This PR fix #1407.

In Fiber strict server, if response body is not existed, Content-type in HTTP response header is “text/plain; charset=utf-8". This behavior is differed than strict server for other framework.