Skip to content
@oapi-codegen

oapi-codegen

The community for oapi-codegen (a command-line tool and library to convert OpenAPI specifications to Go code) and its sibling projects

oapi-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:

Non-OpenAPI projects

Additionally, there is the nullable package:

An implementation of a Nullable type for JSON bodies, indicating whether the field is absent, set to null, 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

  1. oapi-codegen oapi-codegen Public

    Generate Go client and server boilerplate from OpenAPI 3 specifications

    Go 8.6k 1.1k

Repositories

Showing 10 of 19 repositories
  • oapi-codegen/fiber-middleware's past year of commit activity
    Go 6 Apache-2.0 5 2 0 Updated Nov 5, 2026
  • oapi-codegen/fiber-v3-middleware's past year of commit activity
    Go 1 Apache-2.0 1 1 0 Updated Nov 5, 2026
  • actions Public
    oapi-codegen/actions's past year of commit activity
    1 2 2 1 Updated Nov 5, 2026
  • runtime Public
    oapi-codegen/runtime's past year of commit activity
    Go 20 Apache-2.0 56 4 3 Updated Nov 5, 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 0 Updated Nov 5, 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 3 Updated Nov 5, 2026
  • oapi-codegen/echo-middleware's past year of commit activity
    Go 24 Apache-2.0 11 5 0 Updated Nov 5, 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 139 13 7 (1 issue needs help) 2 Updated Nov 5, 2026
  • oapi-codegen/gin-middleware's past year of commit activity
    Go 8 Apache-2.0 8 1 2 Updated Nov 5, 2026
  • oapi-codegen/iris-middleware's past year of commit activity
    Go 0 Apache-2.0 1 1 0 Updated Nov 5, 2026

Sponsors

  • @mercedes-benz
  • @elastic
  • Private Sponsor

Top languages

Go

Most used topics

Loading…