Expand description
Intermediate Representation for ReScript codegen
Transforms OpenAPI structures into a codegen-friendly IR that maps directly to ReScript constructs.
Structs§
- ApiSpec
- Root IR node representing the entire API
- Endpoint
- HTTP endpoint definition
- Field
- A field in a record type
- Parameter
- Request
Body - Response
- Variant
Case - A case in a variant type
Enums§
- Http
Method - Parameter
Location - RsType
- ReScript type representation
- TypeDef
- A ReScript type definition
Functions§
- lower
- Lower OpenAPI spec to IR