Skip to content

Option to exclude response examples from Postman collection #196

Answered by thim81
thim81 asked this question in Q&A
Discussion options

You must be logged in to vote

By using stripResponseExamples in the "globals" section, like the example:

{
  "version": 1.0,
  "globals": {
    "stripResponseExamples": true
  }
}

All examples will be stripped from the Postman collection.

Portman will replace the responses array in the item object

with an empty responses: []

For more context have a look at our examples: https://github.com/apideck-libraries/portman/blob/main/examples/portman-globals/readme.md#stripresponseexamples

Replies: 1 comment

Comment options

thim81
Nov 30, 2021
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by thim81
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request
1 participant
Converted from issue

This discussion was converted from issue #179 on December 09, 2021 08:46.