v1.0.0
v1.0.0
First public release of swapper, a CLI for generating TypeScript API functions and type definitions from Swagger/OpenAPI documents.
What's included
- Generate
types.tsandindex.tsfrom Swagger/OpenAPI - Select APIs by controller tag or exact
METHOD-/path - Support mixed tag and endpoint selection
- Support custom request import statements
- Support URL prefixes for generated endpoints
- Incremental merge by default
- Full overwrite with
--force - Built-in Codex skill installation via
swapper install-skill
Package
- npm:
@aircan/swapper - CLI:
swapper
Quick start
npm install -g @aircan/swapper
swapper --help