forked from loafle/openapi-generator-original
add debug switch to print out downloaded file info
This commit is contained in:
@@ -125,7 +125,7 @@ class AnimalFarm implements ArrayAccess
|
||||
*
|
||||
* @return array invalid properties with reasons
|
||||
*/
|
||||
public function list_invalid_properties()
|
||||
public function listInvalidProperties()
|
||||
{
|
||||
$invalid_properties = array();
|
||||
return $invalid_properties;
|
||||
|
||||
@@ -125,7 +125,7 @@ class EnumClass implements ArrayAccess
|
||||
*
|
||||
* @return array invalid properties with reasons
|
||||
*/
|
||||
public function list_invalid_properties()
|
||||
public function listInvalidProperties()
|
||||
{
|
||||
$invalid_properties = array();
|
||||
return $invalid_properties;
|
||||
|
||||
@@ -110,6 +110,12 @@ class EnumTest implements ArrayAccess
|
||||
return self::$getters;
|
||||
}
|
||||
|
||||
const ENUM_STRING_UPPER = 'UPPER';
|
||||
const ENUM_STRING_LOWER = 'lower';
|
||||
const ENUM_INTEGER_1 = 1;
|
||||
const ENUM_INTEGER_MINUS_1 = -1;
|
||||
const ENUM_NUMBER_1_DOT_1 = 1.1;
|
||||
const ENUM_NUMBER_MINUS_1_DOT_2 = -1.2;
|
||||
|
||||
|
||||
|
||||
@@ -120,7 +126,8 @@ class EnumTest implements ArrayAccess
|
||||
public function getEnumStringAllowableValues()
|
||||
{
|
||||
return [
|
||||
|
||||
self::ENUM_STRING_UPPER,
|
||||
self::ENUM_STRING_LOWER,
|
||||
];
|
||||
}
|
||||
|
||||
@@ -131,7 +138,8 @@ class EnumTest implements ArrayAccess
|
||||
public function getEnumIntegerAllowableValues()
|
||||
{
|
||||
return [
|
||||
|
||||
self::ENUM_INTEGER_1,
|
||||
self::ENUM_INTEGER_MINUS_1,
|
||||
];
|
||||
}
|
||||
|
||||
@@ -142,7 +150,8 @@ class EnumTest implements ArrayAccess
|
||||
public function getEnumNumberAllowableValues()
|
||||
{
|
||||
return [
|
||||
|
||||
self::ENUM_NUMBER_1_DOT_1,
|
||||
self::ENUM_NUMBER_MINUS_1_DOT_2,
|
||||
];
|
||||
}
|
||||
|
||||
@@ -169,7 +178,7 @@ class EnumTest implements ArrayAccess
|
||||
*
|
||||
* @return array invalid properties with reasons
|
||||
*/
|
||||
public function list_invalid_properties()
|
||||
public function listInvalidProperties()
|
||||
{
|
||||
$invalid_properties = array();
|
||||
$allowed_values = array("UPPER", "lower");
|
||||
|
||||
@@ -69,7 +69,7 @@ class FormatTest implements ArrayAccess
|
||||
'binary' => 'string',
|
||||
'date' => '\DateTime',
|
||||
'date_time' => '\DateTime',
|
||||
'uuid' => 'UUID',
|
||||
'uuid' => 'string',
|
||||
'password' => 'string'
|
||||
);
|
||||
|
||||
@@ -578,7 +578,7 @@ class FormatTest implements ArrayAccess
|
||||
|
||||
/**
|
||||
* Gets uuid
|
||||
* @return UUID
|
||||
* @return string
|
||||
*/
|
||||
public function getUuid()
|
||||
{
|
||||
@@ -587,7 +587,7 @@ class FormatTest implements ArrayAccess
|
||||
|
||||
/**
|
||||
* Sets uuid
|
||||
* @param UUID $uuid
|
||||
* @param string $uuid
|
||||
* @return $this
|
||||
*/
|
||||
public function setUuid($uuid)
|
||||
|
||||
@@ -122,6 +122,9 @@ class Order implements ArrayAccess
|
||||
return self::$getters;
|
||||
}
|
||||
|
||||
const STATUS_PLACED = 'placed';
|
||||
const STATUS_APPROVED = 'approved';
|
||||
const STATUS_DELIVERED = 'delivered';
|
||||
|
||||
|
||||
|
||||
@@ -132,7 +135,9 @@ class Order implements ArrayAccess
|
||||
public function getStatusAllowableValues()
|
||||
{
|
||||
return [
|
||||
|
||||
self::STATUS_PLACED,
|
||||
self::STATUS_APPROVED,
|
||||
self::STATUS_DELIVERED,
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
@@ -122,6 +122,9 @@ class Pet implements ArrayAccess
|
||||
return self::$getters;
|
||||
}
|
||||
|
||||
const STATUS_AVAILABLE = 'available';
|
||||
const STATUS_PENDING = 'pending';
|
||||
const STATUS_SOLD = 'sold';
|
||||
|
||||
|
||||
|
||||
@@ -132,7 +135,9 @@ class Pet implements ArrayAccess
|
||||
public function getStatusAllowableValues()
|
||||
{
|
||||
return [
|
||||
|
||||
self::STATUS_AVAILABLE,
|
||||
self::STATUS_PENDING,
|
||||
self::STATUS_SOLD,
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user