From 0c14fa09d1252cad9361f9656d7f5ff64b4b0582 Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 8 Nov 2024 15:19:51 +0200 Subject: [PATCH] fix(synonym): fix synonym delete response schema --- openapi.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/openapi.yml b/openapi.yml index 2c22cab..b27e86d 100644 --- a/openapi.yml +++ b/openapi.yml @@ -653,7 +653,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/SearchSynonym" + $ref: "#/components/schemas/SearchSynonymDeleteResponse" 404: description: Search synonym not found content: @@ -2298,6 +2298,14 @@ components: id: type: string readOnly: true + SearchSynonymDeleteResponse: + type: object + required: + - id + properties: + id: + type: string + description: The id of the synonym that was deleted SearchSynonymsResponse: type: object required: