Skip to content

Commit ae29ccc

Browse files
authored
fix: use correct response for override deletion (#79)
* fix response schema for DELETE `/overrides/{overrideId}` endpoint * add missing SearchOverrideDeleteResponse schema definition * ensure id field description matches actual response
1 parent ebe9aae commit ae29ccc

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
@@ -529,7 +529,7 @@ paths:
529529
content:
530530
application/json:
531531
schema:
532-
$ref: "#/components/schemas/SearchOverride"
532+
$ref: "#/components/schemas/SearchOverrideDeleteResponse"
533533
404:
534534
description: Search override not found
535535
content:
@@ -2218,6 +2218,14 @@ components:
22182218
id:
22192219
type: string
22202220
readOnly: true
2221+
SearchOverrideDeleteResponse:
2222+
type: object
2223+
required:
2224+
- id
2225+
properties:
2226+
id:
2227+
type: string
2228+
description: The id of the override that was deleted
22212229
SearchOverrideRule:
22222230
type: object
22232231
properties:

0 commit comments

Comments
 (0)