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) {
141141 if (isList (mainType )) {
142142 writer .append (".list(" );
143143 writeGeneric (param1 );
144+ writer .append (");" ).eol ();
144145 } else if (isStream (mainType )) {
145146 writer .append (".stream(" );
146147 writeGeneric (param1 );
@@ -177,7 +178,6 @@ void writeGeneric(UType type) {
177178 } else {
178179 writer .append ("%s.class" , Util .shortName (type .mainType ()));
179180 }
180- writer .append (");" ).eol ();
181181 }
182182
183183 private void writeQueryParams (PathSegments pathSegments ) {
@@ -253,6 +253,7 @@ private void writeBody() {
253253 if (paramType == ParamType .BODY ) {
254254 writer .append (" .body(%s, " , param .name ());
255255 writeGeneric (param .utype ());
256+ writer .append (")" ).eol ();
256257 }
257258 }
258259 }
You can’t perform that action at this time.
0 commit comments