oaspec/openapi/resolve

Values

pub fn resolve(
  spec: spec.OpenApiSpec(spec.SpecStage),
) -> Result(spec.OpenApiSpec(spec.SpecStage), parser.ParseError)

Resolve all RefOr aliases in the spec. Call after parse and normalize, before capability_check and codegen. Resolves both component-level aliases and inline $ref within operations.

Search Document