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 {
335335 + "("
336336 + (isEnum
337337 ? "qp -> " + handler .toMethod () + " qp)"
338- : "PathTypeConversion::" + shortName )
338+ : "PathTypeConversion::as " + shortName )
339339 + ", " ;
340340
341- this .toMethod = toMethod .replace ("PathTypeConversion::String " , "Object::toString" );
341+ this .toMethod = toMethod .replace ("PathTypeConversion::asString " , "Object::toString" );
342342 }
343343
344344 @ Override
Original file line number Diff line number Diff line change 3636 <dependency >
3737 <groupId >io.avaje</groupId >
3838 <artifactId >avaje-http-api</artifactId >
39- <version >1.22 </version >
39+ <version >1.30 </version >
4040 <scope >provided</scope >
4141 </dependency >
4242
4343 <dependency >
4444 <groupId >io.avaje</groupId >
4545 <artifactId >avaje-inject</artifactId >
46- <version >8.13 </version >
46+ <version >9.0-RC2 </version >
4747 <scope >provided</scope >
4848 </dependency >
4949
Original file line number Diff line number Diff line change 11package org .example ;
22
33import java .io .InputStream ;
4+ import java .util .List ;
45import java .util .Set ;
56
67import io .avaje .http .api .Controller ;
@@ -21,6 +22,11 @@ String paramMulti(Set<String> strings) {
2122 return strings .toString ();
2223 }
2324
25+ @ Get ("/BoxCollection" )
26+ String boxed (@ QueryParam List <Long > l ) {
27+ return l .toString ();
28+ }
29+
2430 @ Form
2531 @ Get ("/enumForm" )
2632 String enumForm (String s , ServerType type ) {
You can’t perform that action at this time.
0 commit comments