add comment, update ruby, php samples

This commit is contained in:
wing328 2017-09-03 23:20:55 +08:00
parent cfa2074802
commit c1f5de91bb
3 changed files with 4 additions and 3 deletions

View File

@ -1706,8 +1706,9 @@ public class DefaultCodegen {
property.isFile = true;
}
if (p instanceof UUIDProperty) {
property.isString = true;
property.isUuid = true;
// keep isString to true to make it backward compatible
property.isString = true;
}
if (p instanceof ByteArrayProperty) {
property.isByteArray = true;

View File

@ -87,7 +87,7 @@ This endpoint does not need any parameter.
### Return type
[**map[string,int]**](../Model/map.md)
**map[string,int]**
### Authorization

View File

@ -280,7 +280,7 @@ module Petstore
data = {}
form_params.each do |key, value|
case value
when File, Array, nil
when ::File, ::Array, nil
# let typhoeus handle File, Array and nil parameters
data[key] = value
else