generate-api-client-optimized
Generate API client code from Swagger/OpenAPI documents with caching and large document support. Supports frameworks like Axios, Fetch, and React Query, offering options for type imports, grouping, and filtering by tags.
Instructions
Generate API client code from Swagger/OpenAPI document (optimized version with caching and large document support).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
cacheTTLMinutes | No | Cache TTL in minutes | |
clientType | No | API client technology stack | |
excludeTags | No | Exclude tags filter | |
filePrefix | No | File prefix | |
fileSuffix | No | File suffix | |
generateTypeImports | No | Whether to generate type imports | |
groupBy | No | Grouping method | |
headers | No | Request headers | |
includeTags | No | Include tags filter | |
lazyLoading | No | Whether to use lazy loading | |
outputDir | No | Output directory | |
overwrite | No | Whether to overwrite existing files | |
skipValidation | No | Whether to skip validation | |
swaggerUrl | Yes | Swagger/OpenAPI document URL | |
typesImportPath | No | Types import path | |
useCache | No | Whether to use cache |