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

https://github.com/deepmap/oapi-codegen/blob/master/CONTRIBUTING.md#feature-enhancements

documentation

It's easy to make structural errors in swagger which still parse, but affect the output. On errors, we typically end up with some of the swagger spec parsed into the...

enhancement

We at my company rely heavily on oapi-codegen to generate our rest services from openapi yaml files. Our frontend team is used to graphql to communicate with our services, so...

```go // Unimplemented server implementation that returns http.StatusNotImplemented for each endpoint. type Unimplemented struct{} ``` The extra newline breaks rendering, at least in Neovim + gopls

bug
documentation

```go package main import ( "log" "net/http" "github.com/deepmap/oapi-codegen/v2/examples/minimal-server/gorillamux/api" ) func main() { // create a type that satisfies the `api.ServerInterface`, which contains an implementation of every operation from the generated...

documentation

As seen in https://github.com/deepmap/oapi-codegen/pull/1532 Raising this for an FYI for anyone who may see errors like the below in their own builds when updating `kin-openapi`: ``` /go/pkg/mod/github.com/deepmap/oapi-codegen/[email protected]/pkg/codegen/codegen.go:1070:12: cannot convert "object"...

dependencies
upstream