Skip to main content

Module schema_override

Module schema_override 

Source
Expand description

Deterministic merge policy for caller-supplied override schemas.

Constants§

REPLACE_MARKER
Internal sibling marker used to preserve “replace this subtree” intent across override reference preparation.

Functions§

apply_schema_override
Merges an override into a base schema using replacement markers and schema-aware recursion.
mark_refs_for_replacement
Walk the override and tag every object with $ref as “replace on merge”. Run by the CLI before reference preparation so the marker rides through bundling or dereferencing and reaches the merge.