Skip to main content

Features

caution

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

Incompatibility

  • 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.