Skip to content

Commit

Permalink
Update VTEX - Marketplace APIs - Suggestions.json
Browse files Browse the repository at this point in the history
Correction of the field in the request body.
  • Loading branch information
anabaarbosa committed Sep 26, 2024
1 parent b03348b commit 432184d
Showing 1 changed file with 6 additions and 20 deletions.
26 changes: 6 additions & 20 deletions VTEX - Marketplace APIs - Suggestions.json
Original file line number Diff line number Diff line change
Expand Up @@ -1426,11 +1426,9 @@
"width": 1,
"length": 1,
"weight": 1,
"images": [
{
"images": {
"imagem1.jpg": "https://imageurl.example"
}
],
},
"unitMultiplier": 1,
"measurementUnit": "un",
"specifications": {
Expand Down Expand Up @@ -2234,7 +2232,7 @@
"example": 1234567
},
"specifications": {
"type": "string",
"type": "object",
"description": "This field is optional. Add here any product specifications or details.",
"example": "Paperback, 300 pages, Published in 2024.",

Check failure on line 2237 in VTEX - Marketplace APIs - Suggestions.json

View workflow job for this annotation

GitHub Actions / Lint (pull_request)

oas3-valid-schema-example

"example" property type must be object,null
"nullable": true
Expand Down Expand Up @@ -2350,24 +2348,12 @@
}
},
"Images": {
"type": "array",
"description": "Array containing objects that represent the SKU's images. Each object should have a key representing the image file name and a value containing the URL of the image. The image must be sent through `https` protocol, otherwise it will not be rendered in VTEX Admin.",
"items": {
"type": "object",
"description": "An object that represents a single SKU image with a filename as the key and the image URL as the value.",
"properties": {
"imagem1.jpg": {
"type": "string",
"description": "The URL of the SKU's image. Must be an `https` URL.",
"example": "https://imageurl.example"
}
}
},
"example": [
"type": "object",
"description": "Object that represent the SKU's images.",
"example":
{
"imagem1.jpg": "https://imageurl.example"
}
]
},
"Specifications": {
"required": [
Expand Down

0 comments on commit 432184d

Please sign in to comment.