Releases: ducdmdev/apigen
Releases · ducdmdev/apigen
v0.3.0
Tier 1 CLI Improvements
Features
- allOf composition —
resolveAllOf()merges properties from$refand inline variants - Circular reference detection — IR safely handles self-referencing schemas
- Config file loading —
--configflag + auto-search forapigen.config.ts/.js - Extended config —
split,baseURL,apiFetchImportPathfields 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
v0.2.1
v0.2.0
What's New
- Auto-discover API specs at well-known paths (
discovermodule) --splitflag for per-tag feature folder output- URL support for
-i(load specs from remote URLs) - Optional
-iwith interactive prompt fallback - Smart
operationIdfallback from path + method --no-mockflag to skip mock/provider generation- Documentation updates across all docs
v0.1.0
Full Changelog: https://github.com/ducdmdev/apigen/commits/v0.1.0