Skip to content

Commit

Permalink
fix(specs): saveRule response type [skip-bc] (#4170)
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcuts authored Nov 26, 2024
1 parent ae865dd commit afd94fa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
15 changes: 0 additions & 15 deletions specs/search/paths/rules/common/schemas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -289,18 +289,3 @@ automaticFacetFilter:
If false, multiple occurences are combined with the logical `AND` operation.
required:
- facet

updatedRuleResponse:
type: object
additionalProperties: false
properties:
objectID:
$ref: '../../../../common/parameters.yml#/ruleID'
updatedAt:
$ref: '../../../../common/responses/common.yml#/updatedAt'
taskID:
$ref: '../../../../common/responses/common.yml#/taskID'
required:
- objectID
- updatedAt
- taskID
6 changes: 1 addition & 5 deletions specs/search/paths/rules/rule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,7 @@ put:
$ref: 'common/schemas.yml#/rule'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: 'common/schemas.yml#/updatedRuleResponse'
$ref: '../../../common/responses/UpdatedAt.yml'
'400':
$ref: '../../../common/responses/BadRequest.yml'
'402':
Expand Down

0 comments on commit afd94fa

Please sign in to comment.