UNPKG

@protocolnebula/ts-openapi-generator

Version:

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

26 lines 711 B
import { PhysycalFile } from './entities'; export declare class EnumModel<T = string> implements PhysycalFile { name: string; isOptional: boolean; isArray: boolean; description?: string; example?: string; deprecated?: boolean; private _type; private _values; /** * Get the path to the file if is not a primitive */ get fileName(): string | null; get type(): string; set type(type: string); get uri(): string; get hasComments(): boolean; get isString(): boolean; get isNumeric(): boolean; get values(): T[]; set values(values: T[]); constructor(name: string); toString(): string; } //# sourceMappingURL=enum.model.d.ts.map