We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d712402 + e8d40cd commit a261f6eCopy full SHA for a261f6e
http-generator-javalin/src/main/java/io/avaje/http/generator/javalin/JavalinAdapter.java
@@ -39,7 +39,7 @@ public String bodyAsClass(UType type) {
39
if (useJsonB) {
40
return type.shortName() + "JsonType.fromJson(ctx.bodyInputStream())";
41
}
42
- return "ctx.bodyAsClass(" + type.mainType() + ".class)";
+ return "ctx.<" + type.mainType() + ">bodyStreamAsClass(" + type.mainType() + ".class)";
43
44
45
0 commit comments