# How to document params which are defined in Globals?

**URL:** <https://community.postman.com/t/how-to-document-params-which-are-defined-in-globals/11921>\
**Category:** Help Hub\
**Created:** [April 13, 2020, 8:24pm UTC](https://community.postman.com/t/how-to-document-params-which-are-defined-in-globals/11921 "2020-04-13T20:24:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbednarz](https://avatars.discourse-cdn.com/v4/letter/t/f6c823/32.png) [@tbednarz](https://community.postman.com/u/tbednarz)\
**Post date:** [April 13, 2020, 8:24pm UTC](https://community.postman.com/t/how-to-document-params-which-are-defined-in-globals/11921/1 "2020-04-13T20:24:23Z")

</div>

I have one parameter which needs to be passed to every API call. It is a complex JSON object which I have defined as global variable.

In the Global param definitions I miss a field ‘description’ which goes to the documentation.

Here is a sample how I use it:

In bulk edit:  
RequestMetaDto:{{requestmetadto}}

In globals definition:  
requestmetadto {CallingRequestId:{{$guid}},Source:“PostmanApiTestCall”,CallingUserId:“postman”,CallingUserEmail:“postman@bedisoft.cloud”,CallingUserIp:{{$randomIP}},clientType:“Postman”}

I like to describe each of the fields in my documentation. Currently in the documentation all variables show up in curly braces as shown in the screenshot

 ![postman_documenting_APIs](https://us1.discourse-cdn.com/getpostman/original/3X/1/1/11ce97dd39354e2f80f9d2af37cab28bb3afa806.png)

Is there a way to make this consumer friendlier for the users of the documentation?

---

<div class="post-metadata">

**Author:** ![suesmith](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/suesmith/32/2307_2.png) [@suesmith](https://community.postman.com/u/suesmith)\
**Post date:** [April 16, 2020, 11:13am UTC](https://community.postman.com/t/how-to-document-params-which-are-defined-in-globals/11921/2 "2020-04-16T11:13:09Z")

</div>

Hi @tbednarz! If you use either collection variables or environment variables (where the environment is published with your docs) the values will actually resolve in the rendered documentation - [bit more info in our docs](https://learning.postman.com/docs/postman/api-documentation/documenting-your-api/#documentation-environments).

If your variable is a parameter to the request (e.g. a query or path parameter) you should be able to add a description to the parameter itself, but this doesn’t apply to e.g. portions of the base url. I don’t believe we have the ability to add descriptions to variables in published docs, so currently I think you’d need to include that info in the request description itself - it may be worth seeing if any of the existing issues on our [support repo](https://github.com/postmanlabs/postman-app-support/issues) cover your use case and if not add a new one. Hope that helps!
