forked from loafle/openapi-generator-original
add comment, update ruby, php samples
This commit is contained in:
parent
cfa2074802
commit
c1f5de91bb
@ -1706,8 +1706,9 @@ public class DefaultCodegen {
|
|||||||
property.isFile = true;
|
property.isFile = true;
|
||||||
}
|
}
|
||||||
if (p instanceof UUIDProperty) {
|
if (p instanceof UUIDProperty) {
|
||||||
property.isString = true;
|
|
||||||
property.isUuid = true;
|
property.isUuid = true;
|
||||||
|
// keep isString to true to make it backward compatible
|
||||||
|
property.isString = true;
|
||||||
}
|
}
|
||||||
if (p instanceof ByteArrayProperty) {
|
if (p instanceof ByteArrayProperty) {
|
||||||
property.isByteArray = true;
|
property.isByteArray = true;
|
||||||
|
@ -87,7 +87,7 @@ This endpoint does not need any parameter.
|
|||||||
|
|
||||||
### Return type
|
### Return type
|
||||||
|
|
||||||
[**map[string,int]**](../Model/map.md)
|
**map[string,int]**
|
||||||
|
|
||||||
### Authorization
|
### Authorization
|
||||||
|
|
||||||
|
@ -280,7 +280,7 @@ module Petstore
|
|||||||
data = {}
|
data = {}
|
||||||
form_params.each do |key, value|
|
form_params.each do |key, value|
|
||||||
case value
|
case value
|
||||||
when File, Array, nil
|
when ::File, ::Array, nil
|
||||||
# let typhoeus handle File, Array and nil parameters
|
# let typhoeus handle File, Array and nil parameters
|
||||||
data[key] = value
|
data[key] = value
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user