forked from loafle/openapi-generator-original
Merge remote-tracking branch 'origin/master' into 6.0.x
This commit is contained in:
@@ -60,8 +60,8 @@ class AdditionalPropertiesClass implements ModelInterface, ArrayAccess, \JsonSer
|
||||
* @var string[]
|
||||
*/
|
||||
protected static $openAPITypes = [
|
||||
'map_property' => 'map[string,string]',
|
||||
'map_of_map_property' => 'map[string,map[string,string]]'
|
||||
'map_property' => 'array<string,string>',
|
||||
'map_of_map_property' => 'array<string,array<string,string>>'
|
||||
];
|
||||
|
||||
/**
|
||||
@@ -218,7 +218,7 @@ class AdditionalPropertiesClass implements ModelInterface, ArrayAccess, \JsonSer
|
||||
/**
|
||||
* Gets map_property
|
||||
*
|
||||
* @return map[string,string]|null
|
||||
* @return array<string,string>|null
|
||||
*/
|
||||
public function getMapProperty()
|
||||
{
|
||||
@@ -228,7 +228,7 @@ class AdditionalPropertiesClass implements ModelInterface, ArrayAccess, \JsonSer
|
||||
/**
|
||||
* Sets map_property
|
||||
*
|
||||
* @param map[string,string]|null $map_property map_property
|
||||
* @param array<string,string>|null $map_property map_property
|
||||
*
|
||||
* @return self
|
||||
*/
|
||||
@@ -242,7 +242,7 @@ class AdditionalPropertiesClass implements ModelInterface, ArrayAccess, \JsonSer
|
||||
/**
|
||||
* Gets map_of_map_property
|
||||
*
|
||||
* @return map[string,map[string,string]]|null
|
||||
* @return array<string,array<string,string>>|null
|
||||
*/
|
||||
public function getMapOfMapProperty()
|
||||
{
|
||||
@@ -252,7 +252,7 @@ class AdditionalPropertiesClass implements ModelInterface, ArrayAccess, \JsonSer
|
||||
/**
|
||||
* Sets map_of_map_property
|
||||
*
|
||||
* @param map[string,map[string,string]]|null $map_of_map_property map_of_map_property
|
||||
* @param array<string,array<string,string>>|null $map_of_map_property map_of_map_property
|
||||
*
|
||||
* @return self
|
||||
*/
|
||||
|
||||
@@ -60,10 +60,10 @@ class MapTest implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
* @var string[]
|
||||
*/
|
||||
protected static $openAPITypes = [
|
||||
'map_map_of_string' => 'map[string,map[string,string]]',
|
||||
'map_of_enum_string' => 'map[string,string]',
|
||||
'direct_map' => 'map[string,bool]',
|
||||
'indirect_map' => 'map[string,bool]'
|
||||
'map_map_of_string' => 'array<string,array<string,string>>',
|
||||
'map_of_enum_string' => 'array<string,string>',
|
||||
'direct_map' => 'array<string,bool>',
|
||||
'indirect_map' => 'array<string,bool>'
|
||||
];
|
||||
|
||||
/**
|
||||
@@ -245,7 +245,7 @@ class MapTest implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
/**
|
||||
* Gets map_map_of_string
|
||||
*
|
||||
* @return map[string,map[string,string]]|null
|
||||
* @return array<string,array<string,string>>|null
|
||||
*/
|
||||
public function getMapMapOfString()
|
||||
{
|
||||
@@ -255,7 +255,7 @@ class MapTest implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
/**
|
||||
* Sets map_map_of_string
|
||||
*
|
||||
* @param map[string,map[string,string]]|null $map_map_of_string map_map_of_string
|
||||
* @param array<string,array<string,string>>|null $map_map_of_string map_map_of_string
|
||||
*
|
||||
* @return self
|
||||
*/
|
||||
@@ -269,7 +269,7 @@ class MapTest implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
/**
|
||||
* Gets map_of_enum_string
|
||||
*
|
||||
* @return map[string,string]|null
|
||||
* @return array<string,string>|null
|
||||
*/
|
||||
public function getMapOfEnumString()
|
||||
{
|
||||
@@ -279,7 +279,7 @@ class MapTest implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
/**
|
||||
* Sets map_of_enum_string
|
||||
*
|
||||
* @param map[string,string]|null $map_of_enum_string map_of_enum_string
|
||||
* @param array<string,string>|null $map_of_enum_string map_of_enum_string
|
||||
*
|
||||
* @return self
|
||||
*/
|
||||
@@ -302,7 +302,7 @@ class MapTest implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
/**
|
||||
* Gets direct_map
|
||||
*
|
||||
* @return map[string,bool]|null
|
||||
* @return array<string,bool>|null
|
||||
*/
|
||||
public function getDirectMap()
|
||||
{
|
||||
@@ -312,7 +312,7 @@ class MapTest implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
/**
|
||||
* Sets direct_map
|
||||
*
|
||||
* @param map[string,bool]|null $direct_map direct_map
|
||||
* @param array<string,bool>|null $direct_map direct_map
|
||||
*
|
||||
* @return self
|
||||
*/
|
||||
@@ -326,7 +326,7 @@ class MapTest implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
/**
|
||||
* Gets indirect_map
|
||||
*
|
||||
* @return map[string,bool]|null
|
||||
* @return array<string,bool>|null
|
||||
*/
|
||||
public function getIndirectMap()
|
||||
{
|
||||
@@ -336,7 +336,7 @@ class MapTest implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
/**
|
||||
* Sets indirect_map
|
||||
*
|
||||
* @param map[string,bool]|null $indirect_map indirect_map
|
||||
* @param array<string,bool>|null $indirect_map indirect_map
|
||||
*
|
||||
* @return self
|
||||
*/
|
||||
|
||||
@@ -62,7 +62,7 @@ class MixedPropertiesAndAdditionalPropertiesClass implements ModelInterface, Arr
|
||||
protected static $openAPITypes = [
|
||||
'uuid' => 'string',
|
||||
'date_time' => '\DateTime',
|
||||
'map' => 'map[string,\OpenAPI\Client\Model\Animal]'
|
||||
'map' => 'array<string,\OpenAPI\Client\Model\Animal>'
|
||||
];
|
||||
|
||||
/**
|
||||
@@ -272,7 +272,7 @@ class MixedPropertiesAndAdditionalPropertiesClass implements ModelInterface, Arr
|
||||
/**
|
||||
* Gets map
|
||||
*
|
||||
* @return map[string,\OpenAPI\Client\Model\Animal]|null
|
||||
* @return array<string,\OpenAPI\Client\Model\Animal>|null
|
||||
*/
|
||||
public function getMap()
|
||||
{
|
||||
@@ -282,7 +282,7 @@ class MixedPropertiesAndAdditionalPropertiesClass implements ModelInterface, Arr
|
||||
/**
|
||||
* Sets map
|
||||
*
|
||||
* @param map[string,\OpenAPI\Client\Model\Animal]|null $map map
|
||||
* @param array<string,\OpenAPI\Client\Model\Animal>|null $map map
|
||||
*
|
||||
* @return self
|
||||
*/
|
||||
|
||||
@@ -69,9 +69,9 @@ class NullableClass implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
'array_nullable_prop' => 'object[]',
|
||||
'array_and_items_nullable_prop' => 'object[]',
|
||||
'array_items_nullable' => 'object[]',
|
||||
'object_nullable_prop' => 'map[string,object]',
|
||||
'object_and_items_nullable_prop' => 'map[string,object]',
|
||||
'object_items_nullable' => 'map[string,object]'
|
||||
'object_nullable_prop' => 'array<string,object>',
|
||||
'object_and_items_nullable_prop' => 'array<string,object>',
|
||||
'object_items_nullable' => 'array<string,object>'
|
||||
];
|
||||
|
||||
/**
|
||||
@@ -494,7 +494,7 @@ class NullableClass implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
/**
|
||||
* Gets object_nullable_prop
|
||||
*
|
||||
* @return map[string,object]|null
|
||||
* @return array<string,object>|null
|
||||
*/
|
||||
public function getObjectNullableProp()
|
||||
{
|
||||
@@ -504,7 +504,7 @@ class NullableClass implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
/**
|
||||
* Sets object_nullable_prop
|
||||
*
|
||||
* @param map[string,object]|null $object_nullable_prop object_nullable_prop
|
||||
* @param array<string,object>|null $object_nullable_prop object_nullable_prop
|
||||
*
|
||||
* @return self
|
||||
*/
|
||||
@@ -518,7 +518,7 @@ class NullableClass implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
/**
|
||||
* Gets object_and_items_nullable_prop
|
||||
*
|
||||
* @return map[string,object]|null
|
||||
* @return array<string,object>|null
|
||||
*/
|
||||
public function getObjectAndItemsNullableProp()
|
||||
{
|
||||
@@ -528,7 +528,7 @@ class NullableClass implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
/**
|
||||
* Sets object_and_items_nullable_prop
|
||||
*
|
||||
* @param map[string,object]|null $object_and_items_nullable_prop object_and_items_nullable_prop
|
||||
* @param array<string,object>|null $object_and_items_nullable_prop object_and_items_nullable_prop
|
||||
*
|
||||
* @return self
|
||||
*/
|
||||
@@ -542,7 +542,7 @@ class NullableClass implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
/**
|
||||
* Gets object_items_nullable
|
||||
*
|
||||
* @return map[string,object]|null
|
||||
* @return array<string,object>|null
|
||||
*/
|
||||
public function getObjectItemsNullable()
|
||||
{
|
||||
@@ -552,7 +552,7 @@ class NullableClass implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
/**
|
||||
* Sets object_items_nullable
|
||||
*
|
||||
* @param map[string,object]|null $object_items_nullable object_items_nullable
|
||||
* @param array<string,object>|null $object_items_nullable object_items_nullable
|
||||
*
|
||||
* @return self
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user