Skip to content

Commit

Permalink
Fix handling of UUID types (OpenAPITools#554)
Browse files Browse the repository at this point in the history
  • Loading branch information
Peaches491 authored and wing328 committed Jul 14, 2018
1 parent 47ce55a commit 35924e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ public String getTypeDeclaration(Schema p) {
return getSchemaType(p) + "<utility::string_t, " + getTypeDeclaration(inner) + ">";
} else if (ModelUtils.isStringSchema(p)
|| ModelUtils.isDateSchema(p) || ModelUtils.isDateTimeSchema(p)
|| ModelUtils.isFileSchema(p)
|| ModelUtils.isFileSchema(p) || ModelUtils.isUUIDSchema(p)
|| languageSpecificPrimitives.contains(openAPIType)) {
return toModelName(openAPIType);
}
Expand Down

0 comments on commit 35924e8

Please sign in to comment.