Skip to content

Commit 2eb024a

Browse files
committed
tmp
1 parent 8c2e355 commit 2eb024a

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

generators/src/main/java/com/algolia/codegen/cts/tests/TestsRequest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ public void run(Map<String, CodegenModel> models, Map<String, CodegenOperation>
124124
Map<String, Object> test = new HashMap<>();
125125
Request req = op[i];
126126
test.put("method", operationId);
127+
if (!operationId.equals("search")) {continue;}
127128
test.put("testName", req.testName == null ? operationId : req.testName);
128129
test.put("testIndex", i == 0 ? "" : i);
129130
if (ope.returnType != null && ope.returnType.length() > 0) {

specs/composition/spec.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -126,26 +126,26 @@ paths:
126126
# ########################
127127
# ### Search Endpoints ###
128128
# ########################
129-
# /1/compositions/{compositionID}/run:
130-
# $ref: 'paths/search/search.yml'
129+
/1/compositions/{compositionID}/run:
130+
$ref: 'paths/search/search.yml'
131131
/1/compositions/{compositionID}/facets/{facetName}/query:
132132
$ref: 'paths/search/searchForFacetValues.yml'
133-
#
133+
134134
# #####################################
135135
# ### Manage Compositions Endpoints ###
136136
# #####################################
137137
/1/compositions:
138138
$ref: 'paths/compositions/list.yml'
139-
# /1/compositions/{compositionID}:
140-
# $ref: 'paths/compositions/composition.yml'
141-
# /1/compositions/*/batch:
142-
# $ref: 'paths/compositions/batch.yml'
143-
#
139+
/1/compositions/{compositionID}:
140+
$ref: 'paths/compositions/composition.yml'
141+
/1/compositions/*/batch:
142+
$ref: 'paths/compositions/batch.yml'
143+
144144
# ##########################################
145145
# ### Manage Composition Rules Endpoints ###
146146
# ##########################################
147-
# /1/compositions/{compositionID}/rules/{objectID}:
148-
# $ref: 'paths/rules/rule.yml'
147+
/1/compositions/{compositionID}/rules/{objectID}:
148+
$ref: 'paths/rules/rule.yml'
149149
/1/compositions/{compositionID}/rules/batch:
150150
$ref: 'paths/rules/saveRules.yml'
151151
/1/compositions/{compositionID}/rules/search:

0 commit comments

Comments
 (0)