# Import OAS spec with path variables and examples

**URL:** <https://community.postman.com/t/import-oas-spec-with-path-variables-and-examples/75881>\
**Category:** Help Hub\
**Tags:** variables, collections\
**Created:** [February 21, 2025, 4:49pm UTC](https://community.postman.com/t/import-oas-spec-with-path-variables-and-examples/75881 "2025-02-21T16:49:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisopengi](https://avatars.discourse-cdn.com/v4/letter/c/ecc23a/32.png) [@chrisopengi](https://community.postman.com/u/chrisopengi)\
**Post date:** [February 21, 2025, 4:49pm UTC](https://community.postman.com/t/import-oas-spec-with-path-variables-and-examples/75881/1 "2025-02-21T16:49:40Z")

</div>

Hi, I’m importing an Open API spec document that includes path variables and examples. The paths used are something like '/{pathVar1}/something. The import loads the path variable value as {{pathVar1}} against the “something” endpoint but does not include it in each of the example request / response entries below that. Note that import settings has parameter generation set to Example rather than Schema which is required to import the examples.
