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):
"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 as a new collection in Postman App
Thank you so much for your help!
Max