# OpenAPI 3.1.0 import values not taken from examples given in the spec

**URL:** <https://community.postman.com/t/openapi-3-1-0-import-values-not-taken-from-examples-given-in-the-spec/49420>\
**Category:** Help Hub\
**Tags:** openapi\
**Created:** [July 11, 2023, 10:39am UTC](https://community.postman.com/t/openapi-3-1-0-import-values-not-taken-from-examples-given-in-the-spec/49420 "2023-07-11T10:39:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaxT](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@MaxT](https://community.postman.com/u/MaxT)\
**Post date:** [July 11, 2023, 10:39am UTC](https://community.postman.com/t/openapi-3-1-0-import-values-not-taken-from-examples-given-in-the-spec/49420/1 "2023-07-11T10:39:34Z")

</div>

_My question_:

I’m importing an openapi 3.1.0 schema into my workspace, and every value set by default is wrong. It’s always following this pattern: (eg: , ) while my openapi document contains examples for each attribute.

_Details (like screenshots)_:

![image](https://us1.discourse-cdn.com/getpostman/original/3X/1/e/1e88c21badb2378d82d400806129b72761c51a07.png)

```auto
"render-image-post-params": {
  "type": "object",
  "properties": {
    "templateId": {
      "type": "string",
      "description": "The ID of the template to render",
      "title": "Template ID",
      "example": "592dd982-4a1b-4cd9-ab11-21481d5a0064" // <= example here
    },
    "imageFile": {
      "type": "string",
      "description": "The image file to render",
      "title": "Image File",
      "format": "binary"
    },
    "imageUrl": {
      "type": "string",
      "format": "uri",
      "description": "Deprecated, use `imageFile` instead.",
      "title": "Image URL",
      "example": "https://s3.amazonaws.com/a.storyblok.com/f/191576/1024x1024/d25e1a99d7/sample-05.png", // <= example here
      "deprecated": true
    }
  },
  "required": [
    "templateId"
  ],
  "title": "Render image POST params"
      },

```

_How I found the problem_:

Imported [https://beta-sdk.photoroom.com/openapi](https://beta-sdk.photoroom.com/openapi) as a new collection in Postman App  
 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/3/6/3641fcede1f4b5679fd6912f70c66470183859ca.png)

Thank you so much for your help!  
Max

---

<div class="post-metadata">

**Author:** ![hanscardoen](https://avatars.discourse-cdn.com/v4/letter/h/a4c791/32.png) [@hanscardoen](https://community.postman.com/u/hanscardoen)\
**Post date:** [July 21, 2023, 12:20pm UTC](https://community.postman.com/t/openapi-3-1-0-import-values-not-taken-from-examples-given-in-the-spec/49420/2 "2023-07-21T12:20:00Z")

</div>

I have the same, I use this already a lot of time.  
until some Postman upgrade, The import showed the value.  
I read somwhere that this is gone since Postman version 8 ?

---

<div class="post-metadata">

**Author:** ![kevinc-postman](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/kevinc-postman/32/12774_2.png) [@kevinc-postman](https://community.postman.com/u/kevinc-postman)\
**Post date:** [July 24, 2023, 5:26pm UTC](https://community.postman.com/t/openapi-3-1-0-import-values-not-taken-from-examples-given-in-the-spec/49420/3 "2023-07-24T17:26:22Z")

</div>

Hi all!

When importing, be sure to check the “Parameter Generation” option.

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/4/f/4f2c7652b78087f312ab205c67821ab81f53a1c5.png)

Using the photoroom example, after setting the type to “Example”, I was able to import examples

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/5/9/5904784bd900721be9ff6bd72d618cae0f9d74a2.png)

---

<div class="post-metadata">

**Author:** ![MaxT](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@MaxT](https://community.postman.com/u/MaxT)\
**Post date:** [July 26, 2023, 12:04pm UTC](https://community.postman.com/t/openapi-3-1-0-import-values-not-taken-from-examples-given-in-the-spec/49420/4 "2023-07-26T12:04:57Z")

</div>

indeed it works better now, thank you.
