Ability to specify requests for documentation

Hey.

We want to use postman as follows:

  1. To run back-end testing.
  2. To document the api.
  3. To mock the api for front-end testing.
    And all of this based on the same collection of requests.

Now, the back-end tests require way more requests than there should be in the API documentation. Is there a way to define which requests should be present in the documentation? If not, this is something we would like to see implemented, as our back-end tests clog our documentation.
The reason we don’t want to define the tests in a different collection is that we want to work on the same pool of requests for all 3 topics above. We see that as one of the powers of using postman: consistency and synchronization across the board.

Thanks.

1 Like