Oapi-Codegen logo

Oapi-Codegen

oapi-codegen is an open source Go code generator that produces client and server boilerplate from OpenAPI 3.0 and 3.1 specifications with support for Echo, Chi, Gin, Gorilla/Mux, Iris, Fiber, and the standard library net/http router.

1 APIs 0 Features
Code GenerationDeveloper ToolsGoOpenAPISDKsTooling

APIs

Oapi-Codegen

Command-line tool and Go library that converts OpenAPI 3.0 and 3.1 specifications into Go server-side, client-side, and HTTP model code with support for multiple Go web frameworks.

Resources

🔗
Website
Website
🔗
Documentation
Documentation
👥
GitHubOrg
GitHubOrg
🔗
GoDoc
GoDoc

Sources

apis.yml Raw ↑
aid: oapi-codegen
name: Oapi-Codegen
description: >-
  oapi-codegen is an open source Go code generator that produces client and server
  boilerplate from OpenAPI 3.0 and 3.1 specifications with support for Echo, Chi,
  Gin, Gorilla/Mux, Iris, Fiber, and the standard library net/http router.
type: Index
position: Producer
access: Open Source
image: https://kinlane-productions2.s3.amazonaws.com/apis-json/apis-json-logo.jpg
tags:
  - Code Generation
  - Developer Tools
  - Go
  - OpenAPI
  - SDKs
  - Tooling
url: >-
  https://raw.githubusercontent.com/api-evangelist/oapi-codegen/refs/heads/main/apis.yml
created: '2026-03-25'
modified: '2026-04-28'
specificationVersion: '0.19'
apis:
  - aid: oapi-codegen:oapi-codegen
    name: Oapi-Codegen
    description: >-
      Command-line tool and Go library that converts OpenAPI 3.0 and 3.1 specifications
      into Go server-side, client-side, and HTTP model code with support for multiple
      Go web frameworks.
    humanURL: https://github.com/oapi-codegen/oapi-codegen
    tags:
      - Code Generation
      - Developer Tools
      - Go
      - OpenAPI
      - Tooling
    properties:
      - type: Documentation
        url: https://github.com/oapi-codegen/oapi-codegen#readme
      - type: GettingStarted
        url: https://github.com/oapi-codegen/oapi-codegen#install
      - type: SourceCode
        url: https://github.com/oapi-codegen/oapi-codegen
      - type: GoDoc
        url: https://pkg.go.dev/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen
      - type: ConfigurationSchema
        url: https://raw.githubusercontent.com/oapi-codegen/oapi-codegen/v2.7.0/configuration-schema.json
      - type: Releases
        url: https://github.com/oapi-codegen/oapi-codegen/releases
      - type: Issues
        url: https://github.com/oapi-codegen/oapi-codegen/issues
      - type: License
        url: https://github.com/oapi-codegen/oapi-codegen/blob/master/LICENSE
common:
  - type: Website
    url: https://github.com/oapi-codegen/oapi-codegen
  - type: Documentation
    url: https://github.com/oapi-codegen/oapi-codegen#readme
  - type: GitHubOrg
    url: https://github.com/oapi-codegen
  - type: GoDoc
    url: https://pkg.go.dev/github.com/oapi-codegen/oapi-codegen/v2
maintainers:
  - FN: Kin Lane
    email: [email protected]