Skip to content

Commit 2749781

Browse files
authored
Merge pull request #8548 from Henge9/ticket-8546
Added mapping from Bytearray to String
2 parents 31c3bab + afa61ba commit 2749781

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/DartClientCodegen.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ public DartClientCodegen() {
100100
//TODO binary should be mapped to byte array
101101
// mapped to String as a workaround
102102
typeMapping.put("binary", "String");
103+
typeMapping.put("ByteArray", "String");
103104

104105
cliOptions.add(new CliOption(BROWSER_CLIENT, "Is the client browser based"));
105106
cliOptions.add(new CliOption(PUB_NAME, "Name in generated pubspec"));

0 commit comments

Comments
 (0)