Skip to content

Releases: ducdmdev/apigen

v0.3.0

26 Feb 11:12
4e47812

Choose a tag to compare

Tier 1 CLI Improvements

Features

  • allOf compositionresolveAllOf() merges properties from $ref and inline variants
  • Circular reference detection — IR safely handles self-referencing schemas
  • Config file loading--config flag + auto-search for apigen.config.ts/.js
  • Extended configsplit, baseURL, apiFetchImportPath fields added to ConfigInput
  • baseURL wiring — generators and writer pass baseURL through to generated fetch calls
  • Improved error messages — file-not-found, parse failures, empty spec warnings
  • --dry-run flag — preview generated files with sizes, TTY confirmation prompt
  • Interactive config wizard — prompts for all options, saves apigen.config.ts

Stats

  • 88 tests, 323 assertions across 13 files
  • Tested against real-world 58-endpoint healthcare API spec
  • Zero breaking changes — all features are opt-in

v0.2.3

26 Feb 06:56

Choose a tag to compare

Test release

v0.2.1

26 Feb 04:13

Choose a tag to compare

Fix

  • CLI --version now reads from package.json instead of a hardcoded value

v0.2.0

26 Feb 04:06

Choose a tag to compare

What's New

  • Auto-discover API specs at well-known paths (discover module)
  • --split flag for per-tag feature folder output
  • URL support for -i (load specs from remote URLs)
  • Optional -i with interactive prompt fallback
  • Smart operationId fallback from path + method
  • --no-mock flag to skip mock/provider generation
  • Documentation updates across all docs

v0.1.0

25 Feb 11:00

Choose a tag to compare