Collections generated from OpenAPI spec - need path to be configurable

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?