File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
http-generator-client/src/main/java/io/avaje/http/generator/client Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,7 @@ private void writeResponse(UType type) {
141
141
if (isList (mainType )) {
142
142
writer .append (".list(" );
143
143
writeGeneric (param1 );
144
+ writer .append (");" ).eol ();
144
145
} else if (isStream (mainType )) {
145
146
writer .append (".stream(" );
146
147
writeGeneric (param1 );
@@ -177,7 +178,6 @@ void writeGeneric(UType type) {
177
178
} else {
178
179
writer .append ("%s.class" , Util .shortName (type .mainType ()));
179
180
}
180
- writer .append (");" ).eol ();
181
181
}
182
182
183
183
private void writeQueryParams (PathSegments pathSegments ) {
@@ -253,6 +253,7 @@ private void writeBody() {
253
253
if (paramType == ParamType .BODY ) {
254
254
writer .append (" .body(%s, " , param .name ());
255
255
writeGeneric (param .utype ());
256
+ writer .append (")" ).eol ();
256
257
}
257
258
}
258
259
}
You can’t perform that action at this time.
0 commit comments