Skip to content

Commit 10c9339

Browse files
authored
fix(specs): more flexible custom methods (#2889)
1 parent c15c328 commit 10c9339

File tree

20 files changed

+72
-72
lines changed

20 files changed

+72
-72
lines changed

specs/abtesting/spec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ paths:
3333
# ######################
3434
# ### Custom request ###
3535
# ######################
36-
/1{path}:
36+
/{path}:
3737
$ref: '../common/paths/customRequest.yml'
3838

3939
/2/abtests:

specs/analytics/spec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ paths:
4646
# ######################
4747
# ### Custom request ###
4848
# ######################
49-
/1{path}:
49+
/{path}:
5050
$ref: '../common/paths/customRequest.yml'
5151

5252
# ##################################

specs/ingestion/spec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ paths:
4040
# ######################
4141
# ### Custom request ###
4242
# ######################
43-
/1{path}:
43+
/{path}:
4444
$ref: '../common/paths/customRequest.yml'
4545

4646
# authentications API.

specs/insights/spec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ paths:
9898
# ######################
9999
# ### Custom request ###
100100
# ######################
101-
/1{path}:
101+
/{path}:
102102
$ref: '../common/paths/customRequest.yml'
103103

104104
/1/events:

specs/monitoring/spec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ paths:
4949
# ######################
5050
# ### Custom request ###
5151
# ######################
52-
/1{path}:
52+
/{path}:
5353
$ref: '../common/paths/customRequest.yml'
5454

5555
/1/status:

specs/personalization/spec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ paths:
3636
# ######################
3737
# ### Custom request ###
3838
# ######################
39-
/1{path}:
39+
/{path}:
4040
$ref: '../common/paths/customRequest.yml'
4141

4242
/1/profiles/personalization/{userToken}:

specs/query-suggestions/spec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ paths:
4444
# ######################
4545
# ### Custom request ###
4646
# ######################
47-
/1{path}:
47+
/{path}:
4848
$ref: '../common/paths/customRequest.yml'
4949

5050
/1/configs:

specs/recommend/spec.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ paths:
4949
# ######################
5050
# ### Custom request ###
5151
# ######################
52-
/1{path}:
52+
/{path}:
5353
$ref: '../common/paths/customRequest.yml'
5454

5555
/1/indexes/*/recommendations:
@@ -62,4 +62,4 @@ paths:
6262
$ref: 'paths/getRecommendStatus.yml'
6363

6464
/1/indexes/{indexName}/{model}/recommend/rules/search:
65-
$ref: 'paths/searchRecommendRules.yml'
65+
$ref: 'paths/searchRecommendRules.yml'

specs/search/spec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ paths:
225225
# ######################
226226
# ### Custom request ###
227227
# ######################
228-
/1{path}:
228+
/{path}:
229229
$ref: '../common/paths/customRequest.yml'
230230

231231
# ########################

tests/CTS/client/analytics/parameters.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"object": "$client",
4444
"path": "customPost",
4545
"parameters": {
46-
"path": "/test"
46+
"path": "test"
4747
},
4848
"expected": {
4949
"type": "host",

0 commit comments

Comments
 (0)