forked from loafle/openapi-generator-original
fix @implements annotations in PHP client (#11908)
This commit is contained in:
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class AdditionalPropertiesClass implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class Animal implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class ApiResponse implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class ArrayOfArrayOfNumberOnly implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class ArrayOfNumberOnly implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class ArrayTest implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class Capitalization implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -36,9 +36,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class Cat extends Animal
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class CatAllOf implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class Category implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -39,9 +39,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class ClassModel implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class Client implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class DeprecatedObject implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -36,9 +36,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class Dog extends Animal
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class DogAllOf implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class EnumArrays implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class EnumTest implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -39,9 +39,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class File implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class FileSchemaTestClass implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class Foo implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class FormatTest implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class HasOnlyReadOnly implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -39,9 +39,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class HealthCheckResult implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class InlineResponseDefault implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class MapTest implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class MixedPropertiesAndAdditionalPropertiesClass implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -39,9 +39,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class Model200Response implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class ModelList implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -39,9 +39,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class ModelReturn implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -39,9 +39,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class Name implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class NullableClass implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class NumberOnly implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class ObjectWithDeprecatedFields implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class Order implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class OuterComposite implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class OuterObjectWithEnumProperty implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class Pet implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class ReadOnlyFirst implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class SpecialModelName implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class Tag implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class User implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user