Skip to content

v0.3.0

Latest

Choose a tag to compare

@ducdmdev ducdmdev released this 26 Feb 11:12
· 1 commit to main since this release
4e47812

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