Regenerate Clients + Integrity Gate
Purpose
When the Studio API evolves, the generated clients and CLI commands need to be regenerated and verified.
Workflow
- •
Clean install + build
- •
npm ci - •
npm run build
- •
- •
Regenerate generated sources
- •Run the repo’s Postman/OpenAPI generation workflow used to produce:
- •generated API clients
- •generated CLI command wrappers
- •Run the repo’s Postman/OpenAPI generation workflow used to produce:
- •
Refresh integrity hashes
- •
npm run generate-integrity
- •
- •
Verify
- •
npm test - •
npm run docker:test
- •
Acceptance criteria
- •Generated outputs land only in expected generated directories.
- •
integrity.jsonupdates to match regenerated outputs. - •Tests pass before opening a PR.
Output (recommended)
Create a PR description that includes:
- •what changed in the upstream definition
- •regeneration commands executed
- •test commands executed