@scalar/api-client
Version:
the open source API testing client
11 lines • 529 B
TypeScript
/** Checks if the given content is a Postman collection */
export declare function isPostmanCollection(content: string): boolean;
/** Converts a Postman collection JSON string to an OpenAPI JSON string */
export declare function convertPostmanToOpenApi(postmanJson: string): Promise<string>;
/** Extracts details from a Postman collection JSON string */
export declare function getPostmanDocumentDetails(content: string): {
type: string;
title: string;
version: string;
} | null;
//# sourceMappingURL=postman.d.ts.map