Skip to content

Commit

Permalink
fix default value generation for kotlin
Browse files Browse the repository at this point in the history
  • Loading branch information
ahcub authored Mar 31, 2020
1 parent 01d0769 commit 0e408bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@ public String toDefaultValue(Schema p) {
}
} else if (ModelUtils.isStringSchema(p)) {
if (p.getDefault() != null) {
return "'" + p.getDefault() + "'";
return "\"" + p.getDefault() + "\"";
}
}

Expand Down

0 comments on commit 0e408bd

Please sign in to comment.