Allow int64 types in API; update swagger spec

This commit is contained in:
Paul Morie
2015-05-05 12:15:12 -04:00
parent 41e9e53c64
commit f6f34d0493
4 changed files with 466 additions and 960 deletions

View File

@@ -165,6 +165,7 @@ func (s *SwaggerSchema) validateField(value interface{}, apiVersion, fieldName,
}
}
case "uint64":
case "int64":
case "integer":
_, isNumber := value.(float64)
_, isInteger := value.(int)