UNPKG

@protocolnebula/ts-openapi-generator

Version:

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

19 lines 654 B
import { ApiModel } from '../models/api.model'; import { PhysycalFile } from '../models/entities'; import { ModelStore } from './model.store'; export declare class ApiStore { private _apis; get apis(): ApiModel[]; get apisGrouped(): { [group: string]: ApiModel[]; }; add(api: ApiModel): void; getByGroupName(groupName: string): ApiModel[]; getDependencesByGroupName(groupName: string, store: ModelStore): PhysycalFile[]; getDependencesFor(apiList: ApiModel[], store: ModelStore): PhysycalFile[]; /** * Sort apis and store them sorted */ sort(): ApiStore; } //# sourceMappingURL=api.store.d.ts.map