@protocolnebula/ts-openapi-generator
Version:
Build API and models from Swagger/OpenAPI to use in any project type
36 lines • 991 B
TypeScript
export interface TypesMapped {
/**
* Type if NO TYPE (literally nothing)
*/
empty: string;
[]: string;
default: string;
boolean: string;
file: string;
integer: string;
number: string;
object: string;
string: string;
}
export interface TemplateConfigI {
apiFile: string;
modelFile: string;
enumModelFile: string;
/**
* Types mapping from 'OpenAPI' to the language template
* `default` will be used as default type (if not defined/not in the list)
*/
typesMapped: TypesMapped;
}
export declare class TemplateConfigModel implements TemplateConfigI {
private configMapped;
get apiFile(): string;
get apiExtension(): string;
get modelFile(): string;
get modelExtension(): string;
get enumModelFile(): string;
get enumModelExtension(): string;
get typesMapped(): TypesMapped;
constructor(templatePath: string);
}
//# sourceMappingURL=template-config.model.d.ts.map