# Issue with OpenAPI Specification for Array Parameters in Que

**URL:** <https://community.postman.com/t/issue-with-openapi-specification-for-array-parameters-in-que/61922>\
**Category:** Help Hub\
**Tags:** collections, json\
**Created:** [June 6, 2024, 2:47pm UTC](https://community.postman.com/t/issue-with-openapi-specification-for-array-parameters-in-que/61922 "2024-06-06T14:47:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![satellite-operator15](https://avatars.discourse-cdn.com/v4/letter/s/e36b37/32.png) [@satellite-operator15](https://community.postman.com/u/satellite-operator15)\
**Post date:** [June 6, 2024, 2:47pm UTC](https://community.postman.com/t/issue-with-openapi-specification-for-array-parameters-in-que/61922/1 "2024-06-06T14:47:58Z")

</div>

I am encountering an issue with importing an OpenAPI specification into Postman. Specifically, I’m having trouble with the `populate` parameter, which should be an array in the query string. Despite correctly defining it in the OpenAPI JSON, Postman generates URLs with incorrect formatting.

When I import this JSON into Postman, it generates URLs like `{{baseUrl}}/users?populate=<string>&populate=<string>` instead of the expected `{{baseUrl}}/users?populate=*`.

I need the `populate` parameter to be correctly represented as an array in the query string, so the URL should look like `{{baseUrl}}/users?populate=*` or `{{baseUrl}}/users?populate=["*"]`.

Could you please provide guidance on how to correctly define the array query parameter in the OpenAPI specification to achieve the desired URL format in Postman?

- List item

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [July 6, 2024, 2:48pm UTC](https://community.postman.com/t/issue-with-openapi-specification-for-array-parameters-in-que/61922/2 "2024-07-06T14:48:15Z")

</div>

Closed on July 6, 2024, 2:48pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
