gencontract

command
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2026 License: MIT Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL