Skip to main content



Work in progress, so some features are missing

  • No reflection or interface{}
    • The json encoding is code-generated, optimized and uses go-faster/jx for speed and overcoming encoding/json limitations
    • Validation is code-generated according to spec
  • Code-generated static radix router
  • No more boilerplate
  • Statically typed client and server
  • Convenient support for optional, nullable and optional nullable fields
  • Generated sum types for oneOf
  • OpenTelemetry tracing and metrics
  • Basic security schemas

Not implemented

  • Content-types
    • XML


  • ogen uses Go's regexp instead of ECMAScript-compatible.
  • duration is a Go time.Duration format, but JSON Schema defines it as RFC 3339 duration.