Skip to content

Commit

Permalink
[create-pull-request] automated change (#142)
Browse files Browse the repository at this point in the history
Co-authored-by: shopwareBot <[email protected]>
  • Loading branch information
github-actions[bot] and shopwareBot authored Jan 8, 2024
1 parent f7e48bc commit 57411bc
Showing 1 changed file with 90 additions and 24 deletions.
114 changes: 90 additions & 24 deletions SwagCommercial-storeapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -14172,31 +14172,55 @@
"$ref": "#/components/schemas/Category"
}
},
"NaturalLanguageSearchTermResponse": {
"SearchByImageSearchTermResponse": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NaturalLanguageSearchTerm"
"type": "object",
"required": [
"term",
"apiAlias"
],
"properties": {
"term": {
"type": "string"
},
"apiAlias": {
"type": "string",
"enum": [
"product_image_upload_search_term"
]
},
"extensions": {
"type": "array",
"items": {
"type": "object"
}
}
}
}
},
"NaturalLanguageSearchTerm": {
"type": "object",
"required": [
"term",
"reason",
"apiAlias"
],
"properties": {
"term": {
"type": "string"
},
"reason": {
"type": "string"
},
"apiAlias": {
"type": "string",
"enum": [
"product_natural_language_search_term"
]
"NaturalLanguageSearchTermResponse": {
"type": "array",
"items": {
"type": "object",
"required": [
"term",
"reason",
"apiAlias"
],
"properties": {
"term": {
"type": "string"
},
"reason": {
"type": "string"
},
"apiAlias": {
"type": "string",
"enum": [
"product_natural_language_search_term"
]
}
}
}
}
Expand Down Expand Up @@ -15185,10 +15209,11 @@
"post": {
"tags": [
"Natural language search",
"AI Search",
"Experimental"
],
"summary": "Fetch search terms by natural language query",
"description": "<b>Experimental until v6.7.0</b>\n\nFetch search terms by natural language query",
"summary": "Fetch search terms by natural language search query",
"description": "<b>Experimental until v6.7.0</b>\n\nFetch search terms by natural search language query",
"operationId": "naturalLanguageSearchTerm",
"requestBody": {
"required": true,
Expand All @@ -15209,7 +15234,7 @@
},
"responses": {
"200": {
"description": "Returns search terms",
"description": "A collection of search terms, with an associated 'reason' based on search context",
"content": {
"application/json": {
"schema": {
Expand All @@ -15220,6 +15245,47 @@
}
}
}
},
"/store-api/product/image-upload-search/search-term": {
"post": {
"tags": [
"Search by Image",
"AI Search",
"Experimental"
],
"summary": "Fetch product search terms by uploading an image.",
"description": "<b>Experimental until v6.7.0</b>\n\nFetch product search terms by uploading an image.",
"operationId": "searchByImageSearchTerm",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"file": {
"description": "Base-64 encoded image",
"type": "string",
"format": "binary"
}
}
}
}
}
},
"responses": {
"200": {
"description": "A collection of search terms",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SearchByImageSearchTermResponse"
}
}
}
}
}
}
}
},
"tags": [
Expand Down

0 comments on commit 57411bc

Please sign in to comment.