contract-first-api
Installation
SKILL.md
Contract-First API Workflow
Run this skill after modifying backend REST resources or DTOs to sync the OpenAPI contract and regenerate clients.
Steps
1. Generate OpenAPI Contract
cd backend && mvn package -DskipTests
This generates:
contracts/openapi.yamlcontracts/openapi.json