Skip to content

Commit

Permalink
added bigdecimal support
Browse files Browse the repository at this point in the history
  • Loading branch information
fehguy committed Aug 27, 2014
1 parent 5e56346 commit d4ce57b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ class BasicJavaGenerator extends BasicGenerator {
// import/require statements for specific datatypes
override def importMapping = Map(
"BigDecimal" -> "java.math.BigDecimal",
"UUID" -> "java.util.UUID",
"File" -> "java.io.File",
"Date" -> "java.util.Date",
"Timestamp" -> "java.sql.Timestamp",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ object SwaggerSerializers {
("string", "byte") -> "byte",
("string", "date") -> "Date",
("string", "date-time") -> "Date",
("string", "uuid") -> "UUID",

// containers
("array", "") -> "Array",
Expand Down

0 comments on commit d4ce57b

Please sign in to comment.