The following are frequently asked questions about Postman’s Spec Hub feature. Use these questions to learn about different behavior when generating and syncing between collections and specifications in Spec Hub.
This section includes behavior when generating an API specification from a collection, or syncing changes from a collection to a specification. Learn more about generating a specification from a collection and keeping them in sync.
The parameters are consolidated into path-level parameters. If any updates, like changes to descriptions or data type schemas, are made to the shared parameters in the collection, users must ensure these updates are applied consistently across all methods under that path.
If inconsistencies are detected in the path parameters across methods, the system defaults to using the last defined instance of the path parameter within that path.
Only applies when you generate a specification from a collection.
Query parameters from the first request in the collection are prioritized and added as operation-level parameters in the specification.
Examples or example values explicitly defined in the specification remain unchanged and preserved, even when related schemas or components are updated. The system doesn’t generate or synchronize examples from collections to specifications.
Only applies when you sync changes from a collection to a specification.
The request is preserved in the specification to prevent accidental or unintentional data loss.
Only applies when you generate a specification from a collection.
Only user-defined headers are included in the specification. This helps ensure that the generated specifications are clear and accurate.
Postman doesn’t support non-JSON body types, like form-data or multipart. These request bodies are excluded from the specification.
When you generate a collection from a specification with reusable components, the entire reference object is copied to requests in the generated collection. If you make changes to the requests and then sync the changes back to the specification, references are converted into inline components in the specification. This ensures that any detected updates are accurately reflected in the output.
Only applies when you sync changes from a collection to a specification.
Changes in a collection may overwrite the changes in a specification. All changes to the specification are lost in this scenario. It’s recommended that you don’t apply changes to the specification and collection at the same time to prevent data loss.
The following exceptions apply:
Only applies when you sync changes from a collection to a specification.
All x- vendor extensions are preserved in the specification. Vendor extensions aren’t removed or modified, ensuring that any organization-specific metadata remains complete.
The system only generates and syncs request bodies in JSON format (application/json content type). If a path in the collection has a request body in a format other than JSON (such as text/plain or application/xml content types), the request body isn’t included in the specification. All non-JSON request bodies are preserved in the collection.
This section includes behavior when generating a collection from an API specification, or syncing changes from a specification to a collection. Learn more about generating a collection from a specification and keeping them in sync.
The parameter in the collection inherits the description from the common path-level parameter in the specification.
Only applies when you sync changes from a specification to a collection.
The request is preserved in the collection to prevent accidental or unintentional data loss.
Only applies when you sync changes from a specification to a collection.
Changes in a specification may overwrite the changes in a collection. All changes to the collection are lost in this scenario. It’s recommended that you don’t apply changes to the specification and collection at the same time to prevent data loss.
The following exceptions apply:
Last modified: 2025/12/03