Skip to content

Commit eed7745

Browse files
committed
fix: 1up
1 parent 985a40b commit eed7745

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

specs/composition/paths/search/search.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@ post:
1515
content:
1616
application/json:
1717
schema:
18-
$ref: '../../common/schemas/SearchParams.yml#/params'
18+
title: searchCompositionParams
19+
type: object
20+
additionalProperties: false
21+
properties:
22+
params:
23+
$ref: '../../common/schemas/SearchParams.yml#/params'
1924
responses:
2025
'200':
2126
description: OK

tests/CTS/requests/composition/search.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
{
33
"parameters": {
44
"compositionID": "foo",
5-
"params": {
6-
"query": "batman"
5+
"searchCompositionParams": {
6+
"params": {"query": "batman"}
77
}
88
},
99
"request": {
1010
"path": "/1/compositions/foo/run",
1111
"method": "POST",
1212
"body": {
13-
"query": "batman"
13+
"params": {"query": "batman"}
1414
}
1515
}
1616
}

0 commit comments

Comments
 (0)