update
Safely update generated files while preserving your custom modifications. Recommended for production use.
Usage
Options
-i, --input <path>Path or URL to Swagger/OpenAPI file
Required-o, --output <dir>Output directory (default: ./src/api)
-t, --template <name>Template to use (default: tanstack-query)
--http-client <client>HTTP client: axios or fetch (default: axios)
--validator <validator>Schema validator: zod or yup (default: zod)
--strip-base-path [path]Strip base path from routes
--include-tags <tags>Only update specific tags (comma-separated)
--exclude-tags <tags>Exclude specific tags (comma-separated)
-u, --username <username>Basic auth username
-p, --password <password>Basic auth password
Examples
Safe update
Update while preserving modifications
Update specific tags
Only update certain endpoints