Skip to content

v1.0.0

Choose a tag to compare

@HaolinHom HaolinHom released this 13 Apr 09:56
· 6 commits to main since this release

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.ts and index.ts from 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