Skip to content

Commit 14faf5e

Browse files
authored
fix(synonym): fix synonym delete response schema (#80)
1 parent ae29ccc commit 14faf5e

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

openapi.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ paths:
658658
content:
659659
application/json:
660660
schema:
661-
$ref: "#/components/schemas/SearchSynonym"
661+
$ref: "#/components/schemas/SearchSynonymDeleteResponse"
662662
404:
663663
description: Search synonym not found
664664
content:
@@ -2311,6 +2311,14 @@ components:
23112311
id:
23122312
type: string
23132313
readOnly: true
2314+
SearchSynonymDeleteResponse:
2315+
type: object
2316+
required:
2317+
- id
2318+
properties:
2319+
id:
2320+
type: string
2321+
description: The id of the synonym that was deleted
23142322
SearchSynonymsResponse:
23152323
type: object
23162324
required:

0 commit comments

Comments
 (0)