@protocolnebula/ts-openapi-generator
Version:
Build API and models from Swagger/OpenAPI to use in any project type
47 lines • 1.48 kB
TypeScript
import { ConfigMockI } from './config-mock.model';
import { TemplateConfigModel } from './template-config.model';
export interface ConfigI {
cleanFolder: boolean;
fileURI: string;
outputPath: string;
tempFilePath: string;
template: string;
mock?: ConfigMockI;
readonly exportPath: string;
readonly outputApisPath: string;
readonly outputModelsPath: string;
readonly templateConfig: TemplateConfigModel;
readonly templatePath: any;
}
declare class ConfigModel implements ConfigI {
private _tempFilePath;
private _outputPath;
private _outputBaseFolder;
private _outputModelsFolder;
private _outputApisFolder;
private _template;
private _templatePath;
private _templateConfig;
private _mockConfig;
fileURI: string;
cleanFolder: boolean;
get outputPath(): string;
set outputPath(outputPath: string);
get exportPath(): string;
get outputModelsPath(): string;
get outputApisPath(): string;
get tempFilePath(): string;
set tempFilePath(tempFilePath: string);
get template(): string;
set template(template: string);
get templatePath(): string;
get templateConfig(): TemplateConfigModel;
get mockConfig(): ConfigMockI;
set mockConfig(config: ConfigMockI);
constructor();
setConfig(config: ConfigI): void;
parseYargs(yargs: any): void;
}
export declare const config: ConfigModel;
export {};
//# sourceMappingURL=config.model.d.ts.map