Spec Hub is available with Postman Enterprise plans.
You can generate a collection from a specification to share it with your team members and consumers. With the generated collection, they can test your API or explore its capabilities. You can also keep a collection in sync with its specification if it was generated from an OpenAPI 3.0 specification.
You can generate a Postman Collection from your API specification. Postman automatically creates a collection with folders, requests, and response examples based on the specification. Types is turned on for the generated collection, defining properties for parameters and headers based on the specification.
Postman supports generating collections from the following types of specifications:
To generate a collection from a specification, do the following:
To view the generated collection, select the arrow next to
Generate Collection and select the collection. You can also select Collections in the sidebar.
You can generate more than one collection from the same specification.
When you generate an OpenAPI 3.0 collection from an API specification, Postman creates a collection with requests that match what's defined in the specification. If you update the specification, for example by adding a path, Postman alerts you that the specification isn't in sync with any generated collections. To fix the problem, update the collections based on the latest changes to the specification.
Syncing isn't available for collections generated from AsyncAPI specifications.
To update generated collections, do the following:
Select Specs in the sidebar and select an OpenAPI 3.0 specification.
An orange dot on the arrow next to
Generate Collection indicates one or more collections aren't in sync with the specification.
Select the arrow next to
Generate Collection.
Select Update next to the generated collection you want to update.
Last modified: 2025/03/17