Documentation
¶
Overview ¶
Command gencontract regenerates the committed Layer 6 contract artifacts (the trimmed OpenAPI description, the route list and the provenance record) from a local, gitignored refs/ mirror. Do not run it by hand: use
scripts/gen-contract.sh
which documents the inputs, the environment and the trim rules.
The heavy lifting lives in the contract package's Generate so that a test can drive it as well (TestCommittedArtifactsAreCurrent), which keeps this wrapper thin enough for the repo-wide coverage floor to exclude it.
Click to show internal directories.
Click to hide internal directories.