oapi-codegen
The community for oapi-codegen (a command-line tool and library to convert OpenAPI specifications to Go code) and its sibling projectsoapi-codegen
Community organisation for the Go OpenAPI code generator, oapi-codegen/oapi-codegen and its related projects.
The project is maintained in according to its governance.
Projects
oapi-codegen is primarily operated out of two core projects:
Additionally, there are the following HTTP middleware bindings for performing request/response validation against the OpenAPI spec:
- oapi-codegen/nethttp-middleware
- oapi-codegen/fiber-middleware
- oapi-codegen/fiber-v3-middleware
- oapi-codegen/iris-middleware
- oapi-codegen/echo-middleware
- oapi-codegen/echo-v5-middleware
- oapi-codegen/gin-middleware
Non-OpenAPI projects
Additionally, there is the nullable package:
An implementation of a
Nullabletype for JSON bodies, indicating whether the field is absent, set tonull, or set to a value
And the lesser used testutil project, which can provide a more fluent means to create HTTP requests, and validate them:
Pinned Loading
-
oapi-codegen oapi-codegen Public
Generate Go client and server boilerplate from OpenAPI 3 specifications
Repositories
Showing 10 of 19 repositories-
oapi-codegen
Public
Generate Go client and server boilerplate from OpenAPI 3 specifications
oapi-codegen/oapi-codegen's past year of commit activity Go 8,677 Apache-2.0 1,072 198 (8 issues need help) 42 Updated Nov 29, 2026 - runtime Public oapi-codegen/runtime's past year of commit activity Go 21 Apache-2.0 56 3 2 Updated Nov 24, 2026
-
echo-v5-middleware
Public
Middleware for v5 release of https://echo.labstack.com/
oapi-codegen/echo-v5-middleware's past year of commit activity Go 1 Apache-2.0 2 1 3 Updated Nov 20, 2026 - echo-middleware Public oapi-codegen/echo-middleware's past year of commit activity Go 22 Apache-2.0 11 5 3 Updated Nov 20, 2026
- actions Public oapi-codegen/actions's past year of commit activity 1 2 2 3 Updated Nov 17, 2026
- testutil Public oapi-codegen/testutil's past year of commit activity Go 1 Apache-2.0 2 1 10 Updated Nov 17, 2026
-
oapi-codegen-exp
Public
Experimental OpenAPI code generator for Go
oapi-codegen/oapi-codegen-exp's past year of commit activity Go 5 Apache-2.0 3 3 8 Updated Nov 15, 2026 - nethttp-middleware Public oapi-codegen/nethttp-middleware's past year of commit activity Go 43 Apache-2.0 15 9 3 Updated Nov 14, 2026
-
nullable
Public
An implementation of a `Nullable` type for JSON bodies, indicating whether the field is absent, set to null, or set to a value
oapi-codegen/nullable's past year of commit activity Go 141 13 7 (1 issue needs help) 3 Updated Nov 14, 2026 - fiber-v3-middleware Public oapi-codegen/fiber-v3-middleware's past year of commit activity Go 1 Apache-2.0 1 1 2 Updated Nov 14, 2026
People
Sponsors
Top languages
GoMost used topics
Loading…
Uh oh!
There was an error while loading. Please reload this page.