Skip to main content

Module types

Module types 

Source
Expand description

Rustdoc type nodes → JSON Schema.

Named local types resolve to $refs into a components map, which both keeps the emitted spec readable and makes self-referential types terminate: a type already on the resolution stack yields its $ref immediately and the outer frame fills the definition.

Structs§

Resolver
Walks rustdoc JSON, emitting JSON Schema and collecting Gaps.

Type Aliases§

Subst
Generic parameter bindings captured at a concrete use site: parameter name → (resolved schema, display name used for component naming).