What problem does it solve?
Manually creating API specifications is time-consuming and prone to inconsistencies, especially when adhering to enterprise guidelines. This Skill automates the generation of production-ready OpenAPI and AsyncAPI specs, embedding best practices like RFC 7807 error handling, correct naming conventions, and required metadata.
Core Features & Use Cases
- Template-Driven Generation: Quickly scaffold OpenAPI 3.1 (Zalando-compliant) and AsyncAPI 3.0 specs from enterprise-compliant templates.
- Automated Best Practices: Includes proper error handling (RFC 7807 Problem JSON), snake_case naming, X-Flow-ID headers, and JWT authentication schemes.
- Use Case: A developer needs to create a new
user-service API. Instead of manually writing the OpenAPI spec, they use api.define to generate a Zalando-compliant spec in seconds, ensuring it meets all enterprise standards from the start.
Quick Start
Generate a Zalando-compliant OpenAPI spec for a user service
python skills/api.define/api_define.py user-service openapi --template=zalando