Skip to content
@oapi-codegen

oapi-codegen

The community or 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.

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 Public

    Generate Go client and server boilerplate from OpenAPI 3 specifications

    Go 7k 923

Repositories

Showing 10 of 13 repositories
  • Go 19 Apache-2.0 10 7 4 Updated Apr 25, 2025
  • Go 4 Apache-2.0 2 2 6 Updated Apr 25, 2025
  • testutil Public
    Go 0 Apache-2.0 2 1 6 Updated Apr 25, 2025
  • Go 13 Apache-2.0 3 4 7 Updated Apr 25, 2025
  • 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

    Go 115 7 5 (1 issue needs help) 5 Updated Apr 25, 2025
  • Go 0 Apache-2.0 0 1 4 Updated Apr 24, 2025
  • runtime Public
    Go 8 Apache-2.0 29 14 22 Updated Apr 24, 2025
  • Go 4 Apache-2.0 5 1 6 Updated Apr 25, 2025
  • oapi-codegen Public

    Generate Go client and server boilerplate from OpenAPI 3 specifications

    Go 7,005 Apache-2.0 923 502 (11 issues need help) 173 Updated Apr 24, 2025
  • 0 Apache-2.0 0 1 0 Updated Apr 7, 2025

Sponsors

  • @cloudsquid
  • Private Sponsor

Top languages

Go

Most used topics

Loading…