/** * Options received from the command line (Commander). * Decoupled from the CLI framework to allow use from a backend or other entry points. */ export interface CliOptions { input: string; output: string; templates: string; skipInstall?: boolean; dryRun?: boolean; selectEndpoints?: boolean; skipLint?: boolean; config?: string; initConfig?: string | boolean; } /** * Per-tag configuration inside the generation config file. */ export interface TagConfig { baseUrl: string; endpoints: string[]; } /** * JSON configuration file schema. * Allows full non-interactive control of the generation process. */ export interface GenerationConfig { input: string; output: string; templates?: string; skipInstall?: boolean; skipLint?: boolean; tags: Record; }