Skip to content

Commit

Permalink
fix(specs): remove duplicate objectID (#2113)
Browse files Browse the repository at this point in the history
  • Loading branch information
millotp authored Oct 12, 2023
1 parent 00691d0 commit a5ff0a7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions specs/search/paths/rules/common/parameters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ClearExistingRules:
type: boolean
description: Indicates whether existing rules should be deleted before adding this batch.

ObjectID:
ObjectIDRule:
in: path
name: objectID
description: Unique identifier of a rule object.
Expand All @@ -18,4 +18,4 @@ ObjectID:
query:
type: string
description: Rule object query.
default: ''
default: ''
6 changes: 3 additions & 3 deletions specs/search/paths/rules/rule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ get:
description: Get a rule by its `objectID`. To find the `objectID` for rules, use the [`search` operation](#tag/Rules/operation/searchRules).
parameters:
- $ref: '../../../common/parameters.yml#/IndexName'
- $ref: 'common/parameters.yml#/ObjectID'
- $ref: 'common/parameters.yml#/ObjectIDRule'
responses:
'200':
description: OK
Expand All @@ -31,7 +31,7 @@ put:
description: To create or update more than one rule, use the [`batch` operation](#tag/Rules/operation/saveRules).
parameters:
- $ref: '../../../common/parameters.yml#/IndexName'
- $ref: 'common/parameters.yml#/ObjectID'
- $ref: 'common/parameters.yml#/ObjectIDRule'
- $ref: '../../../common/parameters.yml#/ForwardToReplicas'
requestBody:
required: true
Expand Down Expand Up @@ -63,7 +63,7 @@ delete:
description: Delete a rule by its `objectID`. To find the `objectID` for rules, use the [`search` operation](#tag/Rules/operation/searchRules).
parameters:
- $ref: '../../../common/parameters.yml#/IndexName'
- $ref: 'common/parameters.yml#/ObjectID'
- $ref: 'common/parameters.yml#/ObjectIDRule'
- $ref: '../../../common/parameters.yml#/ForwardToReplicas'
responses:
'200':
Expand Down

0 comments on commit a5ff0a7

Please sign in to comment.