File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed
http-generator-core/src/main/java/io/avaje/http/generator/core
tests/test-nima-jsonb/src/main/java/org/example Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -335,10 +335,10 @@ static class CollectionHandler implements TypeHandler {
335
335
+ "("
336
336
+ (isEnum
337
337
? "qp -> " + handler .toMethod () + " qp)"
338
- : "PathTypeConversion::" + shortName )
338
+ : "PathTypeConversion::as " + shortName )
339
339
+ ", " ;
340
340
341
- this .toMethod = toMethod .replace ("PathTypeConversion::String " , "Object::toString" );
341
+ this .toMethod = toMethod .replace ("PathTypeConversion::asString " , "Object::toString" );
342
342
}
343
343
344
344
@ Override
Original file line number Diff line number Diff line change 36
36
<dependency >
37
37
<groupId >io.avaje</groupId >
38
38
<artifactId >avaje-http-api</artifactId >
39
- <version >1.22 </version >
39
+ <version >1.30 </version >
40
40
<scope >provided</scope >
41
41
</dependency >
42
42
43
43
<dependency >
44
44
<groupId >io.avaje</groupId >
45
45
<artifactId >avaje-inject</artifactId >
46
- <version >8.13 </version >
46
+ <version >9.0-RC2 </version >
47
47
<scope >provided</scope >
48
48
</dependency >
49
49
Original file line number Diff line number Diff line change 1
1
package org .example ;
2
2
3
3
import java .io .InputStream ;
4
+ import java .util .List ;
4
5
import java .util .Set ;
5
6
6
7
import io .avaje .http .api .Controller ;
@@ -21,6 +22,11 @@ String paramMulti(Set<String> strings) {
21
22
return strings .toString ();
22
23
}
23
24
25
+ @ Get ("/BoxCollection" )
26
+ String boxed (@ QueryParam List <Long > l ) {
27
+ return l .toString ();
28
+ }
29
+
24
30
@ Form
25
31
@ Get ("/enumForm" )
26
32
String enumForm (String s , ServerType type ) {
You can’t perform that action at this time.
0 commit comments