api-client-gen

Solid

Use when you have an OpenAPI/Swagger spec and need to generate a typed API client instead of hand-writing HTTP calls.

AI & Automation 1 stars 0 forks Updated 4 days ago MIT

Install

View on GitHub

Quality Score: 78/100

Stars 20%
10
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
38
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# API Client Gen ## When to use Invoke this skill when integrating with a REST API that ships an OpenAPI document, or when HTTP calls are scattered and error-prone. ## Steps 1. Locate the OpenAPI/Swagger spec (local file or URL). 2. Choose a generator or hand-roll a thin client matching the project's stack. 3. Map each operation to a typed method with request/response models. 4. Centralize auth, base URL, retries, and error handling. 5. Emit one usage example per major resource so the caller copy-pastes safely. ## Examples - "Generate a typed client from openapi.yaml" - "Create a fetch-based SDK for this spec" ## References Prefer generated models over `any`; keep the client stateless and let callers own transport config so it stays testable.

Details

Author
NSBen
Repository
NSBen/skillfoundry
Created
4 days ago
Last Updated
4 days ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category