Skip to content

Commit 0a4d244

Browse files
committed
better partialUpdateObject parameter name
1 parent ce81687 commit 0a4d244

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

specs/search/paths/objects/common/schemas.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ builtInOperation:
4040
- _operation
4141
- value
4242

43-
attributeOrBuiltInOperation:
43+
attributeToUpdate:
4444
oneOf:
4545
- $ref: '#/attribute'
4646
- $ref: '#/builtInOperation'

specs/search/paths/objects/partialUpdate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ post:
3131
type: object
3232
description: Attribute to update.
3333
additionalProperties:
34-
$ref: 'common/schemas.yml#/attributeOrBuiltInOperation'
34+
$ref: 'common/schemas.yml#/attributeToUpdate'
3535
responses:
3636
'200':
3737
$ref: '../../../common/responses/UpdatedAtWithObjectId.yml'

tests/CTS/methods/requests/search/partialUpdateObject.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"parameters": {
44
"indexName": "theIndexName",
55
"objectID": "uniqueID",
6-
"attributeOrBuiltInOperation": [
6+
"attributeToUpdate": [
77
{
88
"id1": "test",
99
"id2": {

0 commit comments

Comments
 (0)