C# Types -> OpenAPI Schemas
Roslyn reads your compiled C# — records, enums, brands, generics, nullability, validation attributes — and maps it to component schemas with full fidelity.
Your C# types and endpoints are the source of truth. Rivet emits a faithful OpenAPI 3.1 spec; the OpenAPI ecosystem generates the types, clients, and validators.

Rivet is a meta-framework over OpenAPI: it owns the C# → spec mapping and delegates code generation to the OpenAPI ecosystem.
Start with Getting Started, then use the CLI Reference for the current command surface.