UNPKG

@protocolnebula/ts-openapi-generator

Version:

Build API and models from Swagger/OpenAPI to use in any project type

24 lines 820 B
import { ModelStore } from '../stores/model.store'; import { PhysycalFile } from './entities'; import { ModelAttributessModel } from './model-attributes.model'; export declare class ModelModel implements PhysycalFile { name: string; description?: string; example?: string; deprecated?: boolean; private _attributes; get fileName(): string; get uri(): string; get attributes(): ModelAttributessModel[]; get hasComments(): boolean; getDependences(store: ModelStore): PhysycalFile[]; constructor(name: string); addAttributes(attributes: ModelAttributessModel[]): void; addAttribute(attribute: ModelAttributessModel): void; toString(): string; /** * Sort the attributesthe attributes */ sort(): ModelModel; } //# sourceMappingURL=model.model.d.ts.map