Ross ROSS = Recommend OSS · open-source software intelligence for agents

ogen-go/ogen

Some data may be outdated — see provenance labels.

OpenAPI v3 code generator for go observed · 2026-09-23

github.com/ogen-go/ogen · homepage · Go · Apache-2.0 (permissive) observed · 2026-09-23

Health v2 · maintenance only

94/100

  • Activity 95
  • Release rhythm 89
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.

  • gap_med: 13
  • age_days: 1970
  • days_rel: 74
  • days_push: 30
  • n_releases_24m: 26

Full methodology

Adoption not part of the score

2143 stars · 186 forks observed · 2026-09-23

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

ogen is an OpenAPI v3 code generator for Go that produces statically typed client and server code from an OpenAPI specification. It generates optimized JSON encoding, validation, a static radix router, sum types for oneOf, and optional/nullable wrappers without reflection or interface{} on the hot path.

Use cases

  • generate a type-safe Go server from an OpenAPI v3 spec
  • generate a Go REST API client from swagger/openapi yaml
  • avoid writing boilerplate request parsing and validation code
  • get fast JSON encoding without encoding/ reflection overhead
  • generate sum types for oneOf schemas in Go
  • add OpenTelemetry tracing and metrics to a generated API server
  • generate SSE clients from an OpenAPI spec

When to choose

  • you have an OpenAPI v3 spec and want fully typed Go client and server code
  • you want code-generated validation and routing with no reflection
  • you need optional/nullable field handling without pointer soup
  • you want a stable, actively maintained generator with batteries-included observability

When to avoid

  • your API spec is not OpenAPI v3 (e.g., only Swagger 2.0)
  • you need dynamic or runtime-configurable API behavior rather than static codegen
  • you prefer hand-written handlers with minimal generated code
  • your spec uses features ogen does not support yet

Facets

cli-tool · maturity stable

web-framework http-server http-client serialization routing form-handling cli developer-tools apis web-development backend go cli cross-platform openapi openapi-v3 codegen rest-api swagger type-safe static-typing radix-router opentelemetry sse code-generation docker

3 sources

Member repositories

RepositoryRoleHealth v2
ogen-go/ogenmain94

For agents

markdown · JSON · MCP: product_card(name="ogen-go/ogen")

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem