some debugging
This commit is contained in:
@@ -33,8 +33,8 @@
|
||||
"description": "Product listing and description endpoints (under /api/v1/restricted, requires authentication)"
|
||||
},
|
||||
{
|
||||
"name": "Product Description",
|
||||
"description": "Product description management and translation endpoints (under /api/v1/restricted/product-description, requires authentication)"
|
||||
"name": "Product Translation",
|
||||
"description": "Product description management and translation endpoints (under /api/v1/restricted/product-translation, requires authentication)"
|
||||
},
|
||||
{
|
||||
"name": "Menu",
|
||||
@@ -915,9 +915,9 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/v1/restricted/product-description/get-product-description": {
|
||||
"/api/v1/restricted/product-translation/get-product-description": {
|
||||
"get": {
|
||||
"tags": ["Product Description"],
|
||||
"tags": ["Product Translation"],
|
||||
"summary": "Get product description",
|
||||
"description": "Returns the product description for a given product ID and language. Requires authentication.",
|
||||
"operationId": "getProductDescription",
|
||||
@@ -982,9 +982,9 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/v1/restricted/product-description/save-product-description": {
|
||||
"/api/v1/restricted/product-translation/save-product-description": {
|
||||
"post": {
|
||||
"tags": ["Product Description"],
|
||||
"tags": ["Product Translation"],
|
||||
"summary": "Save product description",
|
||||
"description": "Saves the product description for a given product ID in the specified language. Requires authentication.",
|
||||
"operationId": "saveProductDescription",
|
||||
@@ -1059,9 +1059,9 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/v1/restricted/product-description/translate-product-description": {
|
||||
"/api/v1/restricted/product-translation/translate-product-description": {
|
||||
"get": {
|
||||
"tags": ["Product Description"],
|
||||
"tags": ["Product Translation"],
|
||||
"summary": "Translate product description",
|
||||
"description": "Translates the product description from one language to another using AI (OpenAI or Google). Requires authentication.",
|
||||
"operationId": "translateProductDescription",
|
||||
@@ -1271,7 +1271,7 @@
|
||||
"name": "id_category",
|
||||
"in": "query",
|
||||
"description": "Filter by category ID",
|
||||
"required": true,
|
||||
"required": false,
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"format": "uint"
|
||||
@@ -1281,7 +1281,7 @@
|
||||
"name": "price_lower_bound",
|
||||
"in": "query",
|
||||
"description": "Lower price bound",
|
||||
"required": true,
|
||||
"required": false,
|
||||
"schema": {
|
||||
"type": "number",
|
||||
"format": "double"
|
||||
@@ -1291,7 +1291,7 @@
|
||||
"name": "price_upper_bound",
|
||||
"in": "query",
|
||||
"description": "Upper price bound",
|
||||
"required": true,
|
||||
"required": false,
|
||||
"schema": {
|
||||
"type": "number",
|
||||
"format": "double"
|
||||
@@ -1336,7 +1336,7 @@
|
||||
"get": {
|
||||
"tags": ["Search"],
|
||||
"summary": "Create search index",
|
||||
"description": "Creates a MeiliSearch index for products. Requires superadmin access.",
|
||||
"description": "Creates a MeiliSearch index for products. Must be removed before proper release.",
|
||||
"operationId": "createSearchIndex",
|
||||
"security": [
|
||||
{
|
||||
@@ -1381,7 +1381,7 @@
|
||||
"get": {
|
||||
"tags": ["Search"],
|
||||
"summary": "Test MeiliSearch",
|
||||
"description": "Tests the MeiliSearch connection. Requires superadmin access.",
|
||||
"description": "Tests the MeiliSearch search. Must be removed before proper release.",
|
||||
"operationId": "testMeiliSearch",
|
||||
"security": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user