nori/codegen/ir_builder

Transforms an OpenAPI Document into a language-agnostic CodegenIR.

This is the bridge between the parsed OpenAPI spec and code generators.

Values

pub fn build(doc: document.Document) -> ir.CodegenIR

Builds a CodegenIR from a parsed OpenAPI Document.

pub fn schema_to_typedef(
  name: String,
  s: schema.Schema,
) -> ir.TypeDef
pub fn schema_type_to_typeref(s: schema.Schema) -> ir.TypeRef
Search Document