# Using custom variables for global server URI in OpenAPI scheme

**URL:** <https://community.postman.com/t/using-custom-variables-for-global-server-uri-in-openapi-scheme/27329>\
**Category:** Help Hub\
**Tags:** variables, openapi, openapi-to-postmanv2, yaml\
**Created:** [August 31, 2021, 12:53pm UTC](https://community.postman.com/t/using-custom-variables-for-global-server-uri-in-openapi-scheme/27329 "2021-08-31T12:53:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ppp\_user](https://avatars.discourse-cdn.com/v4/letter/p/9de0a6/32.png) [@ppp\_user](https://community.postman.com/u/ppp_user)\
**Post date:** [August 31, 2021, 12:53pm UTC](https://community.postman.com/t/using-custom-variables-for-global-server-uri-in-openapi-scheme/27329/1 "2021-08-31T12:53:34Z")

</div>

I’m trying to prepare OpenAPI scheme in YAML format with global server parameter. But no matter how it’ll be setup, Postman will convert it to _{{baseUrl}}_, instead my custom parameter.

I tried and I know, it works with setting this parameter for each _path_. But can it be done globally?

_Custom server URI with parameter (works with each path, but not as global)_:

```auto
servers:
  - url: '{server}'
    variables:
      server:
        default: https://custom.com

```
