apideck-codegen
Installation
SKILL.md
Apideck Code Generation Skill
Overview
Apideck publishes OpenAPI 3.x specifications for all unified APIs at https://specs.apideck.com/{api-name}.yml. These specs can be used with code generators to produce typed clients, models, server stubs, and documentation in any language.
IMPORTANT RULES
- ALWAYS prefer the official Apideck SDKs over generated clients. Code generation is for languages/frameworks not covered by official SDKs, or for custom model generation.
- ALWAYS use the latest spec from
https://specs.apideck.com/{api-name}.yml. Do not use cached or outdated specs. - USE the official SDKs for: TypeScript (
@apideck/unify), Python (apideck-unify), C# (ApideckUnifySdk), Java (com.apideck:unify), Go (sdk-go), PHP (sdk-php). - When generating clients, always configure authentication headers:
Authorization,x-apideck-app-id,x-apideck-consumer-id.