Skip to content

Commit e980398

Browse files
committed
fix go
1 parent b1347ef commit e980398

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public void run(Map<String, CodegenModel> models, Map<String, CodegenOperation>
125125

126126
// Determines whether the endpoint is expected to return a response payload
127127
// deserialized and therefore a variable to store it into.
128-
stepOut.put("hasResponse", step.expected != null);
128+
stepOut.put("hasResponse", true);
129129
for (CodegenResponse response : ope.responses) {
130130
if (response.code.equals("204")) {
131131
stepOut.put("hasResponse", false);

0 commit comments

Comments
 (0)