api-contract-advanced
Installation
SKILL.md
API Contract — Advanced Patterns
For Kafka/NATS/SQS event interfaces and multi-consumer contract validation with Pact. For the core REST/OpenAPI workflow (steps 1-5), see api-contract first.
When to Use
- Adding Kafka, NATS, SNS/SQS, or WebSocket interfaces (AsyncAPI)
- Multiple services consume the same API and need independent contract verification (Pact)
- Setting up
can-i-deploygates in CI
Step 6: AsyncAPI for Event-Driven APIs
For Kafka, NATS, SNS/SQS, and WebSocket interfaces, use AsyncAPI 3.0 instead of OpenAPI.