Follow-up to #192, whose flagship items (--input/--output flags, JS config + defineConfig, --watch) shipped in #236. Remaining DX items deferred from that PR:
- Multi-spec / monorepo: allow a
projects: [...] array (or array-of-configs) so one config generates N specs, instead of N configs + N scripts (orval-style).
- Shared config-core / cli-core: config validation + CLI parsing are copy-pasted across openapi-gen, openapi-react-query, and openapi-server. Extract a shared module. (This is the source of the cross-package duplication the fallow audit reports as inherited.)
.ts config: currently .js/.mjs/.cjs are supported via dynamic import; .ts would need a transpiler (jiti/tsx) - decide whether the dependency is worth it.
Demand-driven; no urgency.
Follow-up to #192, whose flagship items (--input/--output flags, JS config + defineConfig, --watch) shipped in #236. Remaining DX items deferred from that PR:
projects: [...]array (or array-of-configs) so one config generates N specs, instead of N configs + N scripts (orval-style)..tsconfig: currently.js/.mjs/.cjsare supported via dynamic import;.tswould need a transpiler (jiti/tsx) - decide whether the dependency is worth it.Demand-driven; no urgency.