Expand description
Build-time contract normalization and registry helpers.
Structs§
- Contract
Registry - Normalized contract registry used by code generation and verification tests.
- Generated
Artifacts - Build-time artifacts produced from the normalized FerrisKey contract.
- Operation
Descriptor Seed - Operation descriptor seed before rendering the generated metadata module.
- Parameter
Descriptor Seed - Parameter descriptor seed before rendering the generated metadata module.
- Request
Body Descriptor Seed - Request-body descriptor seed before rendering the generated metadata module.
- Response
Descriptor Seed - Response descriptor seed before rendering the generated metadata module.
Enums§
- Contract
Error - Errors raised while normalizing or generating FerrisKey contract artifacts.
- Parameter
Location Seed - Supported OpenAPI parameter locations during registry generation.
Functions§
- build_
registry - Build a contract registry from a normalized OpenAPI document.
- generate_
artifacts - Generate normalized contract artifacts and the in-memory registry.
- load_
contract - Load a JSON contract document from disk.
- normalize_
contract - Normalize the FerrisKey OpenAPI document for generation and Prism use.
- normalized_
contract_ path - Resolve the normalized Prism contract path from a crate manifest directory.
- render_
generated_ module - Render the generated Rust metadata module for the normalized contract registry.
- source_
contract_ path - Resolve the source FerrisKey contract path from a crate manifest directory.