Skip to content

Commit

Permalink
Add FileUpload to be the same as File (#1797)
Browse files Browse the repository at this point in the history
Signed-off-by: Phillip Kruger <[email protected]>
  • Loading branch information
phillip-kruger authored Apr 12, 2024
1 parent 466190c commit 0ccc532
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ public class TypeUtil {
TYPE_MAP.put(DotName.createSimple(byte[].class.getName()), BINARY_FORMAT);
TYPE_MAP.put(DotName.createSimple(java.io.File.class.getName()), BINARY_FORMAT);
TYPE_MAP.put(DotName.createSimple(java.io.InputStream.class.getName()), BINARY_FORMAT);
TYPE_MAP.put(DotName.createSimple("org.jboss.resteasy.reactive.multipart.FileUpload"), BINARY_FORMAT);

// Number
TYPE_MAP.put(DotName.createSimple(Number.class.getName()), NUMBER_FORMAT);
Expand Down

0 comments on commit 0ccc532

Please sign in to comment.