generateSpecFromCollection
Generate an OpenAPI specification (2.0, 3.0, or 3.1) from a Postman collection. Specify the collection UID, name, version, and format to start the task.
Instructions
Generates an OpenAPI 2.0, 3.0, or 3.1 specification for the given collection. The response contains a polling link to the task status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The API specification's name. | |
| type | Yes | The specification's type. | |
| format | Yes | The format of the API specification. | |
| elementType | Yes | The `spec` value. | |
| collectionUid | Yes | The collection's unique ID. |