# Collections generated from OpenAPI spec - need path to be configurable

**URL:** <https://community.postman.com/t/collections-generated-from-openapi-spec-need-path-to-be-configurable/13500>\
**Category:** Help Hub\
**Created:** [June 18, 2020, 2:11pm UTC](https://community.postman.com/t/collections-generated-from-openapi-spec-need-path-to-be-configurable/13500 "2020-06-18T14:11:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tess.snow](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/tess.snow/32/4762_2.png) [@tess.snow](https://community.postman.com/u/tess.snow)\
**Post date:** [June 18, 2020, 2:11pm UTC](https://community.postman.com/t/collections-generated-from-openapi-spec-need-path-to-be-configurable/13500/1 "2020-06-18T14:11:09Z")

</div>

Generating collections from OpenAPI spec works nicely, but I have one problem (solved by messy solution involving coding) is that my {{baseUrl}}s in the environments points to different aws environments like, dev, qa, prod. That works just fine, but.

Each collection will contain one microservice to be tested. Each having {{baseUrl}}/path.

Right now I manually need to edit all requests to append the path. Or using my pre test script which I don’t like.

What’s the best way to get this working easily?
