From e17e0d291d82cce5859b2073bc46221f640bcbc7 Mon Sep 17 00:00:00 2001 From: Rares Tritean Date: Thu, 9 Apr 2026 12:58:14 +0300 Subject: [PATCH 1/2] Fix multipart request body for Perfect Match Mapping --- articles/LCPublicAPI/api/Public-API.v1.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/articles/LCPublicAPI/api/Public-API.v1.json b/articles/LCPublicAPI/api/Public-API.v1.json index 608ec02..8baec90 100644 --- a/articles/LCPublicAPI/api/Public-API.v1.json +++ b/articles/LCPublicAPI/api/Public-API.v1.json @@ -4103,7 +4103,7 @@ ], "requestBody": { "content": { - "application/json": { + "multipart/form-data": { "schema": { "$ref": "#/components/schemas/perfect-match-custom-file-mapping-request" } From d1803d8ba0c516619612743b1734690566c9eb32 Mon Sep 17 00:00:00 2001 From: Rares Tritean Date: Thu, 9 Apr 2026 13:48:11 +0300 Subject: [PATCH 2/2] Fix multipart request body for Perfect Match Mapping --- articles/LCPublicAPI/api/Public-API.v1.json | 44 ++++++++++----------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/articles/LCPublicAPI/api/Public-API.v1.json b/articles/LCPublicAPI/api/Public-API.v1.json index 8baec90..a9b77b8 100644 --- a/articles/LCPublicAPI/api/Public-API.v1.json +++ b/articles/LCPublicAPI/api/Public-API.v1.json @@ -4105,7 +4105,21 @@ "content": { "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/perfect-match-custom-file-mapping-request" + "type": "object", + "required": [ + "properties", + "file" + ], + "properties": { + "properties": { + "$ref": "#/components/schemas/perfect-match-custom-file-mapping-request" + }, + "file": { + "type": "string", + "format": "binary", + "description": "The source file (binary string). Only SDLXLIFF files are accepted." + } + } } } } @@ -23193,30 +23207,16 @@ "description": "Provide you own matching file.", "type": "object", "required": [ - "properties", - "file" + "name", + "targetLanguage" ], "properties": { - "properties": { - "type": "object", - "required": [ - "name", - "targetLanguage" - ], - "properties": { - "name": { - "type": "string", - "description": "The file name." - }, - "targetLanguage": { - "type": "string" - } - } - }, - "file": { + "name": { "type": "string", - "format": "binary", - "description": "The source file (binary string). Only SDLXLIFF files are accepted." + "description": "The file name." + }, + "targetLanguage": { + "type": "string" } } },