rws_spec_save
Save a method-level contract as a draft or ready revision before implementation; update existing records with partial fields while implementations pin an exact ready revision.
Instructions
Define a method-level contract before implementation. Saves a new draft or ready revision; implementations pin an exact ready revision. Cases/configurations belong to runs, not method contracts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| record | Yes | For an existing id, provide only fields to change; omitted fields are preserved. A new id still requires a complete valid record. | |
| projectId | Yes | ||
| requestId | Yes | ||
| expectedRevision | Yes |