What problem does it solve?
This Skill provides a comprehensive reference for OpenAPI specification best practices, naming conventions, and expressing complex REST API patterns such as polymorphism, enums, file uploads, and server-sent events. It helps teams write clearer, more maintainable specs to drive reliable SDK generation and tooling.
Core Features & Use Cases
- Standards-driven drafting: Guides on operationId naming, component organization, and consistent tag usage to produce SDK-friendly OpenAPI files.
- Complex pattern guidance: Covers polymorphism with oneOf/allOf/anyOf, discriminators, enums, file uploads, streaming, and server-sent events.
- SDK-oriented documentation: Aligns specs with patterns that improve code generation, testing, and cross-team collaboration.
- Use cases: Ideal for drafting new specs, auditing existing definitions, and refactoring large OpenAPI documents for clarity and reuse.
Quick Start
Begin drafting or auditing an OpenAPI spec by applying the conventions in this guide, then validate results against the reference materials in the repository. Then iterate by converting a small endpoint example to follow the naming, components, and pattern recommendations.