command
Register Contract
Ask the registry to accept a contract revision.
Command
Overview
The only way a contract enters the registry. Rejected if the document does not
parse, if the version is not a semantic version, or if that version is already
registered — registration is idempotent by (contractId, version).
Payload
{ "contractId": "orders-api", "version": "2.1.0", "document": "<OpenAPI document>", "requestedBy": "team:orders"}