-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Description
So I have this controller that's supposed to produce a png image.
@Produces("image/png")
@Get("/get")
byte[] test() {
return service.callDownStream();
}
But when I try to compile I get a Stack Overflow Error.
This method appears to be making unlimited recursive calls.
Lines 178 to 186 in b68be8c
| private Schema<?> buildArraySchema(TypeMirror type) { | |
| ArrayType arrayType = types.getArrayType(type); | |
| Schema<?> itemSchema = toSchema(arrayType.getComponentType()); | |
| ArraySchema arraySchema = new ArraySchema(); | |
| arraySchema.setItems(itemSchema); | |
| return arraySchema; | |
| } |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
