generateCollection
Convert API specifications into Postman collections for testing and documentation, with customizable options for request naming, folder organization, and parameter handling.
Instructions
Creates a collection from the given API specification. The specification must already exist or be created before it can be used to generate a collection. The response contains a polling link to the task status.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| specId | Yes | The spec's ID. | |
| elementType | Yes | The `collection` element type. | |
| name | Yes | The generated collection's name. | |
| options | No | The advanced creation options and their values. For more details, see Postman's [OpenAPI to Postman Collection Converter OPTIONS documentation](https://github.com/postmanlabs/openapi-to-postman/blob/develop/OPTIONS.md). These properties are case-sensitive. |