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 8k 1k

Repositories

Showing 10 of 16 repositories
  • oapi-codegen-exp Public Forked from oapi-codegen/oapi-codegen

    [experimental] Generate Go client and server boilerplate from OpenAPI 3 specifications

    oapi-codegen/oapi-codegen-exp’s past year of commit activity
    Go 0 Apache-2.0 1,050 0 0 Updated Feb 8, 2026
  • oapi-codegen/nethttp-middleware’s past year of commit activity
    Go 30 Apache-2.0 13 9 10 Updated Feb 8, 2026
  • 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,046 Apache-2.0 1,012 438 (10 issues need help) 203 Updated Feb 8, 2026
  • actions Public
    oapi-codegen/actions’s past year of commit activity
    0 0 0 0 Updated Feb 8, 2026
  • oapi-codegen/echo-middleware’s past year of commit activity
    Go 17 Apache-2.0 4 5 11 Updated Feb 7, 2026
  • runtime Public
    oapi-codegen/runtime’s past year of commit activity
    Go 14 Apache-2.0 46 18 25 Updated Feb 6, 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 130 10 7 (1 issue needs help) 13 Updated Jan 23, 2026
  • testutil Public
    oapi-codegen/testutil’s past year of commit activity
    Go 1 Apache-2.0 2 1 11 Updated Jan 22, 2026
  • oapi-codegen/gin-middleware’s past year of commit activity
    Go 9 Apache-2.0 7 1 13 Updated Jan 22, 2026
  • oapi-codegen/iris-middleware’s past year of commit activity
    Go 0 Apache-2.0 0 1 10 Updated Jan 22, 2026

Sponsors

  • Private Sponsor

Top languages

Go

Most used topics

Loading…