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

Hello! `OapiRequestValidatorWithOptions` has ambiguous API. Not all fields from `openapi3filter.Options` are used: ```go oapimdlwr.OapiRequestValidatorWithOptions(v1Swagger, &oapimdlwr.Options{ Options: openapi3filter.Options{ ExcludeRequestBody: false, ExcludeResponseBody: true, // Doesn't matter! AuthenticationFunc: openapi3filter.NoopAuthenticationFunc, }, }) ``` My...

This PR describes an issue with type generation when the `x-go-type-name` is used. The assigned type name is correctly used on the `MyTestRequest` but types for the enum type and...

bug

Bumps [github.com/gofiber/fiber/v2](https://github.com/gofiber/fiber) from 2.49.1 to 2.52.1. Release notes Sourced from github.com/gofiber/fiber/v2's releases. v2.52.1 👮 Security https://docs.gofiber.io/api/middleware/cors 🐛 Fixes Middleware/healthcheck: Not working with route group(#2863) 📚 Documentation Fix default value to...

dependencies

Bumps [github.com/gofiber/fiber/v2](https://github.com/gofiber/fiber) from 2.49.1 to 2.52.1. Release notes Sourced from github.com/gofiber/fiber/v2's releases. v2.52.1 👮 Security https://docs.gofiber.io/api/middleware/cors 🐛 Fixes Middleware/healthcheck: Not working with route group(#2863) 📚 Documentation Fix default value to...

dependencies

This pull request is a complete migration to libopenapi. Almost the tests and examples generates the same code, except embedded swaggerSpec files. While semantically its the same, due to change...

enhancement
☢️ breaking change

Hi, When using the `RegisterHandlersWithOptions` function with middleware, a panic occurs with the message "use: invalid handler". This happens when the middleware, defined as `MiddlewareFunc`, is passed to Fiber's `Use`...

Similar to how Ogen does it, so we don't necessarily need middleware, and can instead rely upon it being handled in code we can see + reason about more easily

I.e. "does this struct have any values set, or is it the zero value"

enhancement

## Version v2.1.0 ## Issue When using same reference in $ref for responses, the first response referencing the scheme will have different behavior. It will embed the referenced struct while...

fixes #697 Currently, oapi-codegen ignores original (parent) fields if `allOf` is defined. OpenAPI schema doesn't seem to refuse a combination of general fields (`properties`) and `allOf`. For example, the following...