@apistudio/apim-cli
Version:
CLI for API Management Products
30 lines • 971 B
TypeScript
import { TestSpec, ICollectionCreator } from '../models/interface.js';
export declare class CollectionCreator implements ICollectionCreator {
private getApiEndpoints;
createCollection(parsedData: TestSpec, fileBuffer: Buffer): Promise<{
info: {
name: string;
version: string;
schema: string;
};
item: never[];
}>;
private initializeCollection;
private getReplacedItems;
private constructItem;
private constructHeaders;
private constructAuth;
private resolveRef;
private loadZipEntries;
private replacePlaceholders;
private constructAssertion;
private resolveRefAssertion;
private constructSettings;
private constructRequestBody;
private constructFormDataBody;
private constructUrlEncodedBody;
private constructRawBody;
private constructUrl;
private updateCollectionBaseUrl;
}
//# sourceMappingURL=newman-collection.builder.d.ts.map