UNPKG

@scalar/api-client

Version:

the open source API testing client

11 lines 469 B
/** * Checks if the given string content is a Postman collection. * * Validates by checking for the `_postman_id` in the info object * and ensuring the schema URL's host matches 'schema.getpostman.com'. * * @param content - The JSON string which may be a Postman collection * @returns True if the content is a valid Postman collection */ export declare const isPostmanCollection: (content: string) => boolean; //# sourceMappingURL=is-postman-collection.d.ts.map