From 9d1bea9425946ebeca98c5ee3a5da8083de9a08b Mon Sep 17 00:00:00 2001 From: coffeemakr Date: Sat, 21 Mar 2026 13:26:31 +0100 Subject: [PATCH] [php-nextgen]: Inherit model method docs and fix interface types --- .../php-nextgen/ModelInterface.mustache | 17 +++---- .../php-nextgen/model_generic.mustache | 44 +++++-------------- .../php-nextgen-streaming/src/Model/Bird.php | 44 +++++-------------- .../src/Model/Category.php | 44 +++++-------------- .../src/Model/DataQuery.php | 44 +++++-------------- .../src/Model/DefaultValue.php | 44 +++++-------------- .../src/Model/ModelInterface.php | 17 +++---- .../src/Model/NumberPropertiesOnly.php | 44 +++++-------------- .../php-nextgen-streaming/src/Model/Pet.php | 44 +++++-------------- .../php-nextgen-streaming/src/Model/Query.php | 44 +++++-------------- .../php-nextgen-streaming/src/Model/Tag.php | 44 +++++-------------- .../TestFormObjectMultipartRequestMarker.php | 44 +++++-------------- ...odeTrueObjectAllOfQueryObjectParameter.php | 44 +++++-------------- ...odeTrueArrayStringQueryObjectParameter.php | 44 +++++-------------- .../echo_api/php-nextgen/src/Model/Bird.php | 44 +++++-------------- .../php-nextgen/src/Model/Category.php | 44 +++++-------------- .../php-nextgen/src/Model/DataQuery.php | 44 +++++-------------- .../php-nextgen/src/Model/DefaultValue.php | 44 +++++-------------- .../php-nextgen/src/Model/ModelInterface.php | 17 +++---- .../src/Model/NumberPropertiesOnly.php | 44 +++++-------------- .../echo_api/php-nextgen/src/Model/Pet.php | 44 +++++-------------- .../echo_api/php-nextgen/src/Model/Query.php | 44 +++++-------------- .../echo_api/php-nextgen/src/Model/Tag.php | 44 +++++-------------- .../TestFormObjectMultipartRequestMarker.php | 44 +++++-------------- ...odeTrueObjectAllOfQueryObjectParameter.php | 44 +++++-------------- ...odeTrueArrayStringQueryObjectParameter.php | 44 +++++-------------- .../src/Model/AdditionalPropertiesClass.php | 44 +++++-------------- .../src/Model/AllOfWithSingleRef.php | 44 +++++-------------- .../OpenAPIClient-php/src/Model/Animal.php | 44 +++++-------------- .../src/Model/ApiResponse.php | 44 +++++-------------- .../src/Model/ArrayOfArrayOfNumberOnly.php | 44 +++++-------------- .../src/Model/ArrayOfNumberOnly.php | 44 +++++-------------- .../OpenAPIClient-php/src/Model/ArrayTest.php | 44 +++++-------------- .../src/Model/Capitalization.php | 44 +++++-------------- .../OpenAPIClient-php/src/Model/Cat.php | 44 +++++-------------- .../OpenAPIClient-php/src/Model/Category.php | 44 +++++-------------- .../src/Model/ChildWithNullable.php | 44 +++++-------------- .../src/Model/ClassModel.php | 44 +++++-------------- .../OpenAPIClient-php/src/Model/Client.php | 44 +++++-------------- .../src/Model/DeprecatedObject.php | 44 +++++-------------- .../src/Model/DiscriminatorBase.php | 44 +++++-------------- .../src/Model/DiscriminatorChild.php | 44 +++++-------------- .../OpenAPIClient-php/src/Model/Dog.php | 44 +++++-------------- .../src/Model/EnumArrays.php | 44 +++++-------------- .../OpenAPIClient-php/src/Model/EnumTest.php | 44 +++++-------------- .../OpenAPIClient-php/src/Model/Error.php | 44 +++++-------------- .../src/Model/ErrorResponse.php | 44 +++++-------------- .../Model/FakeBigDecimalMap200Response.php | 44 +++++-------------- .../OpenAPIClient-php/src/Model/File.php | 44 +++++-------------- .../src/Model/FileSchemaTestClass.php | 44 +++++-------------- .../OpenAPIClient-php/src/Model/Foo.php | 44 +++++-------------- .../src/Model/FooGetDefaultResponse.php | 44 +++++-------------- .../src/Model/FormatTest.php | 44 +++++-------------- .../src/Model/HasOnlyReadOnly.php | 44 +++++-------------- .../src/Model/HealthCheckResult.php | 44 +++++-------------- .../OpenAPIClient-php/src/Model/MapTest.php | 44 +++++-------------- ...PropertiesAndAdditionalPropertiesClass.php | 44 +++++-------------- .../src/Model/Model200Response.php | 44 +++++-------------- .../src/Model/ModelInterface.php | 17 +++---- .../OpenAPIClient-php/src/Model/ModelList.php | 44 +++++-------------- .../src/Model/ModelReturn.php | 44 +++++-------------- .../OpenAPIClient-php/src/Model/Name.php | 44 +++++-------------- .../src/Model/NullableClass.php | 44 +++++-------------- .../src/Model/NumberOnly.php | 44 +++++-------------- .../src/Model/ObjectWithDeprecatedFields.php | 44 +++++-------------- .../OpenAPIClient-php/src/Model/Order.php | 44 +++++-------------- .../src/Model/OuterComposite.php | 44 +++++-------------- .../src/Model/OuterObjectWithEnumProperty.php | 44 +++++-------------- .../src/Model/ParentWithNullable.php | 44 +++++-------------- .../OpenAPIClient-php/src/Model/Pet.php | 44 +++++-------------- .../src/Model/ReadOnlyFirst.php | 44 +++++-------------- .../src/Model/SpecialModelName.php | 44 +++++-------------- .../OpenAPIClient-php/src/Model/Tag.php | 44 +++++-------------- ...ineFreeformAdditionalPropertiesRequest.php | 44 +++++-------------- .../OpenAPIClient-php/src/Model/User.php | 44 +++++-------------- 75 files changed, 746 insertions(+), 2446 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/php-nextgen/ModelInterface.mustache b/modules/openapi-generator/src/main/resources/php-nextgen/ModelInterface.mustache index 38267a45e5cf..c37de54dc441 100644 --- a/modules/openapi-generator/src/main/resources/php-nextgen/ModelInterface.mustache +++ b/modules/openapi-generator/src/main/resources/php-nextgen/ModelInterface.mustache @@ -37,42 +37,43 @@ interface ModelInterface /** * Array of property to type mappings. Used for (de)serialization * - * @return array + * @return array */ public static function openAPITypes(): array; /** * Array of property to format mappings. Used for (de)serialization * - * @return array + * @return array */ public static function openAPIFormats(): array; /** - * Array of attributes where the key is the local name, and the value is the original name + * Array of attributes where the key is the local name, + * and the value is the original name * - * @return array + * @return array */ public static function attributeMap(): array; /** * Array of attributes to setter functions (for deserialization of responses) * - * @return array + * @return array */ public static function setters(): array; /** * Array of attributes to getter functions (for serialization of requests) * - * @return array + * @return array */ public static function getters(): array; /** * Show all the invalid properties with reasons. * - * @return array + * @return string[] invalid properties with reasons */ public function listInvalidProperties(): array; @@ -80,7 +81,7 @@ interface ModelInterface * Validate all the properties in the model * return true if all passed * - * @return bool + * @return bool True if all properties are valid */ public function valid(): bool; diff --git a/modules/openapi-generator/src/main/resources/php-nextgen/model_generic.mustache b/modules/openapi-generator/src/main/resources/php-nextgen/model_generic.mustache index 73448b8df168..fcb5a5873676 100644 --- a/modules/openapi-generator/src/main/resources/php-nextgen/model_generic.mustache +++ b/modules/openapi-generator/src/main/resources/php-nextgen/model_generic.mustache @@ -47,9 +47,7 @@ class {{classname}} {{#parentSchema}}extends {{{parent}}}{{/parentSchema}}{{^par protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -57,9 +55,7 @@ class {{classname}} {{#parentSchema}}extends {{{parent}}}{{/parentSchema}}{{^par } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -97,10 +93,7 @@ class {{classname}} {{#parentSchema}}extends {{{parent}}}{{/parentSchema}}{{^par } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -108,10 +101,7 @@ class {{classname}} {{#parentSchema}}extends {{{parent}}}{{/parentSchema}}{{^par } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -150,10 +140,7 @@ class {{classname}} {{#parentSchema}}extends {{{parent}}}{{/parentSchema}}{{^par ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -161,9 +148,7 @@ class {{classname}} {{#parentSchema}}extends {{{parent}}}{{/parentSchema}}{{^par } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -171,9 +156,7 @@ class {{classname}} {{#parentSchema}}extends {{{parent}}}{{/parentSchema}}{{^par } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -181,9 +164,7 @@ class {{classname}} {{#parentSchema}}extends {{{parent}}}{{/parentSchema}}{{^par } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -280,9 +261,7 @@ class {{classname}} {{#parentSchema}}extends {{{parent}}}{{/parentSchema}}{{^par } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -361,10 +340,7 @@ class {{classname}} {{#parentSchema}}extends {{{parent}}}{{/parentSchema}}{{^par } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/Bird.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/Bird.php index 7f11e0bcc88b..0fdab827059d 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/Bird.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/Bird.php @@ -91,9 +91,7 @@ class Bird implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -101,9 +99,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -141,10 +137,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -152,10 +145,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -194,10 +184,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -205,9 +192,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -215,9 +200,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -225,9 +208,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -272,9 +253,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -284,10 +263,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/Category.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/Category.php index 3f1130a9e024..72f5f9257b38 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/Category.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/Category.php @@ -91,9 +91,7 @@ class Category implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -101,9 +99,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -141,10 +137,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -152,10 +145,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -194,10 +184,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -205,9 +192,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -215,9 +200,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -225,9 +208,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -272,9 +253,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -284,10 +263,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/DataQuery.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/DataQuery.php index 261e408c904b..2dca1a6c4e5e 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/DataQuery.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/DataQuery.php @@ -88,9 +88,7 @@ class DataQuery extends Query protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -98,9 +96,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -138,10 +134,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -149,10 +142,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -194,10 +184,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -205,9 +192,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -215,9 +200,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -225,9 +208,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -269,9 +250,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -281,10 +260,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/DefaultValue.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/DefaultValue.php index 5d349d4619b4..8d4879bfa5e1 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/DefaultValue.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/DefaultValue.php @@ -110,9 +110,7 @@ class DefaultValue implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -120,9 +118,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -160,10 +156,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -171,10 +164,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -231,10 +221,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -242,9 +229,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -252,9 +237,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -262,9 +245,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -332,9 +313,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -344,10 +323,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/ModelInterface.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/ModelInterface.php index f26de5f25cf3..5fc448a57c8b 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/ModelInterface.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/ModelInterface.php @@ -46,42 +46,43 @@ public function getModelName(): string; /** * Array of property to type mappings. Used for (de)serialization * - * @return array + * @return array */ public static function openAPITypes(): array; /** * Array of property to format mappings. Used for (de)serialization * - * @return array + * @return array */ public static function openAPIFormats(): array; /** - * Array of attributes where the key is the local name, and the value is the original name + * Array of attributes where the key is the local name, + * and the value is the original name * - * @return array + * @return array */ public static function attributeMap(): array; /** * Array of attributes to setter functions (for deserialization of responses) * - * @return array + * @return array */ public static function setters(): array; /** * Array of attributes to getter functions (for serialization of requests) * - * @return array + * @return array */ public static function getters(): array; /** * Show all the invalid properties with reasons. * - * @return array + * @return string[] invalid properties with reasons */ public function listInvalidProperties(): array; @@ -89,7 +90,7 @@ public function listInvalidProperties(): array; * Validate all the properties in the model * return true if all passed * - * @return bool + * @return bool True if all properties are valid */ public function valid(): bool; diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/NumberPropertiesOnly.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/NumberPropertiesOnly.php index 73cbda58cae4..92bf34eaeafe 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/NumberPropertiesOnly.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/NumberPropertiesOnly.php @@ -94,9 +94,7 @@ class NumberPropertiesOnly implements ModelInterface, ArrayAccess, JsonSerializa protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -104,9 +102,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -144,10 +140,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -155,10 +148,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -200,10 +190,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -211,9 +198,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -221,9 +206,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -231,9 +214,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -279,9 +260,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -299,10 +278,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/Pet.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/Pet.php index 2ee69b1b2a0a..9b0a549fe030 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/Pet.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/Pet.php @@ -103,9 +103,7 @@ class Pet implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -113,9 +111,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -153,10 +149,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -164,10 +157,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -218,10 +208,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -229,9 +216,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -239,9 +224,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -249,9 +232,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -317,9 +298,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -344,10 +323,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/Query.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/Query.php index ec0b3feb996f..ccf613660a2e 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/Query.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/Query.php @@ -91,9 +91,7 @@ class Query implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -101,9 +99,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -141,10 +137,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -152,10 +145,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -194,10 +184,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -205,9 +192,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -215,9 +200,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -225,9 +208,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -289,9 +270,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -301,10 +280,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/Tag.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/Tag.php index cbbcc36c6552..d2ed45112749 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/Tag.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/Tag.php @@ -91,9 +91,7 @@ class Tag implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -101,9 +99,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -141,10 +137,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -152,10 +145,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -194,10 +184,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -205,9 +192,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -215,9 +200,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -225,9 +208,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -272,9 +253,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -284,10 +263,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/TestFormObjectMultipartRequestMarker.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/TestFormObjectMultipartRequestMarker.php index b65d8c251083..84b60e9db096 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/TestFormObjectMultipartRequestMarker.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/TestFormObjectMultipartRequestMarker.php @@ -88,9 +88,7 @@ class TestFormObjectMultipartRequestMarker implements ModelInterface, ArrayAcces protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -98,9 +96,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -138,10 +134,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -149,10 +142,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -188,10 +178,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -199,9 +186,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -209,9 +194,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -219,9 +202,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -265,9 +246,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -277,10 +256,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.php index 63979f74f8e3..6d35d41a5a39 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.php @@ -97,9 +97,7 @@ class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter impleme protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -107,9 +105,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -147,10 +143,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -158,10 +151,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -206,10 +196,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -217,9 +204,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -227,9 +212,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -237,9 +220,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -286,9 +267,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -298,10 +277,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.php index 32ad0d5c8a4b..42164069d0aa 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.php @@ -88,9 +88,7 @@ class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter implements Mo protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -98,9 +96,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -138,10 +134,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -149,10 +142,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -188,10 +178,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -199,9 +186,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -209,9 +194,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -219,9 +202,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -265,9 +246,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -277,10 +256,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/echo_api/php-nextgen/src/Model/Bird.php b/samples/client/echo_api/php-nextgen/src/Model/Bird.php index 7f11e0bcc88b..0fdab827059d 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/Bird.php +++ b/samples/client/echo_api/php-nextgen/src/Model/Bird.php @@ -91,9 +91,7 @@ class Bird implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -101,9 +99,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -141,10 +137,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -152,10 +145,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -194,10 +184,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -205,9 +192,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -215,9 +200,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -225,9 +208,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -272,9 +253,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -284,10 +263,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/echo_api/php-nextgen/src/Model/Category.php b/samples/client/echo_api/php-nextgen/src/Model/Category.php index 3f1130a9e024..72f5f9257b38 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/Category.php +++ b/samples/client/echo_api/php-nextgen/src/Model/Category.php @@ -91,9 +91,7 @@ class Category implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -101,9 +99,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -141,10 +137,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -152,10 +145,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -194,10 +184,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -205,9 +192,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -215,9 +200,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -225,9 +208,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -272,9 +253,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -284,10 +263,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/echo_api/php-nextgen/src/Model/DataQuery.php b/samples/client/echo_api/php-nextgen/src/Model/DataQuery.php index 261e408c904b..2dca1a6c4e5e 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/DataQuery.php +++ b/samples/client/echo_api/php-nextgen/src/Model/DataQuery.php @@ -88,9 +88,7 @@ class DataQuery extends Query protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -98,9 +96,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -138,10 +134,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -149,10 +142,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -194,10 +184,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -205,9 +192,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -215,9 +200,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -225,9 +208,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -269,9 +250,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -281,10 +260,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/echo_api/php-nextgen/src/Model/DefaultValue.php b/samples/client/echo_api/php-nextgen/src/Model/DefaultValue.php index 5d349d4619b4..8d4879bfa5e1 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/DefaultValue.php +++ b/samples/client/echo_api/php-nextgen/src/Model/DefaultValue.php @@ -110,9 +110,7 @@ class DefaultValue implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -120,9 +118,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -160,10 +156,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -171,10 +164,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -231,10 +221,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -242,9 +229,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -252,9 +237,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -262,9 +245,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -332,9 +313,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -344,10 +323,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/echo_api/php-nextgen/src/Model/ModelInterface.php b/samples/client/echo_api/php-nextgen/src/Model/ModelInterface.php index f26de5f25cf3..5fc448a57c8b 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/ModelInterface.php +++ b/samples/client/echo_api/php-nextgen/src/Model/ModelInterface.php @@ -46,42 +46,43 @@ public function getModelName(): string; /** * Array of property to type mappings. Used for (de)serialization * - * @return array + * @return array */ public static function openAPITypes(): array; /** * Array of property to format mappings. Used for (de)serialization * - * @return array + * @return array */ public static function openAPIFormats(): array; /** - * Array of attributes where the key is the local name, and the value is the original name + * Array of attributes where the key is the local name, + * and the value is the original name * - * @return array + * @return array */ public static function attributeMap(): array; /** * Array of attributes to setter functions (for deserialization of responses) * - * @return array + * @return array */ public static function setters(): array; /** * Array of attributes to getter functions (for serialization of requests) * - * @return array + * @return array */ public static function getters(): array; /** * Show all the invalid properties with reasons. * - * @return array + * @return string[] invalid properties with reasons */ public function listInvalidProperties(): array; @@ -89,7 +90,7 @@ public function listInvalidProperties(): array; * Validate all the properties in the model * return true if all passed * - * @return bool + * @return bool True if all properties are valid */ public function valid(): bool; diff --git a/samples/client/echo_api/php-nextgen/src/Model/NumberPropertiesOnly.php b/samples/client/echo_api/php-nextgen/src/Model/NumberPropertiesOnly.php index 73cbda58cae4..92bf34eaeafe 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/NumberPropertiesOnly.php +++ b/samples/client/echo_api/php-nextgen/src/Model/NumberPropertiesOnly.php @@ -94,9 +94,7 @@ class NumberPropertiesOnly implements ModelInterface, ArrayAccess, JsonSerializa protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -104,9 +102,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -144,10 +140,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -155,10 +148,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -200,10 +190,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -211,9 +198,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -221,9 +206,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -231,9 +214,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -279,9 +260,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -299,10 +278,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/echo_api/php-nextgen/src/Model/Pet.php b/samples/client/echo_api/php-nextgen/src/Model/Pet.php index 2ee69b1b2a0a..9b0a549fe030 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/Pet.php +++ b/samples/client/echo_api/php-nextgen/src/Model/Pet.php @@ -103,9 +103,7 @@ class Pet implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -113,9 +111,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -153,10 +149,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -164,10 +157,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -218,10 +208,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -229,9 +216,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -239,9 +224,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -249,9 +232,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -317,9 +298,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -344,10 +323,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/echo_api/php-nextgen/src/Model/Query.php b/samples/client/echo_api/php-nextgen/src/Model/Query.php index ec0b3feb996f..ccf613660a2e 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/Query.php +++ b/samples/client/echo_api/php-nextgen/src/Model/Query.php @@ -91,9 +91,7 @@ class Query implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -101,9 +99,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -141,10 +137,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -152,10 +145,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -194,10 +184,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -205,9 +192,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -215,9 +200,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -225,9 +208,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -289,9 +270,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -301,10 +280,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/echo_api/php-nextgen/src/Model/Tag.php b/samples/client/echo_api/php-nextgen/src/Model/Tag.php index cbbcc36c6552..d2ed45112749 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/Tag.php +++ b/samples/client/echo_api/php-nextgen/src/Model/Tag.php @@ -91,9 +91,7 @@ class Tag implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -101,9 +99,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -141,10 +137,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -152,10 +145,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -194,10 +184,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -205,9 +192,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -215,9 +200,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -225,9 +208,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -272,9 +253,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -284,10 +263,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/echo_api/php-nextgen/src/Model/TestFormObjectMultipartRequestMarker.php b/samples/client/echo_api/php-nextgen/src/Model/TestFormObjectMultipartRequestMarker.php index b65d8c251083..84b60e9db096 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/TestFormObjectMultipartRequestMarker.php +++ b/samples/client/echo_api/php-nextgen/src/Model/TestFormObjectMultipartRequestMarker.php @@ -88,9 +88,7 @@ class TestFormObjectMultipartRequestMarker implements ModelInterface, ArrayAcces protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -98,9 +96,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -138,10 +134,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -149,10 +142,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -188,10 +178,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -199,9 +186,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -209,9 +194,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -219,9 +202,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -265,9 +246,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -277,10 +256,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/echo_api/php-nextgen/src/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.php b/samples/client/echo_api/php-nextgen/src/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.php index 63979f74f8e3..6d35d41a5a39 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.php +++ b/samples/client/echo_api/php-nextgen/src/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.php @@ -97,9 +97,7 @@ class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter impleme protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -107,9 +105,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -147,10 +143,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -158,10 +151,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -206,10 +196,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -217,9 +204,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -227,9 +212,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -237,9 +220,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -286,9 +267,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -298,10 +277,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/echo_api/php-nextgen/src/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.php b/samples/client/echo_api/php-nextgen/src/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.php index 32ad0d5c8a4b..42164069d0aa 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.php +++ b/samples/client/echo_api/php-nextgen/src/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.php @@ -88,9 +88,7 @@ class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter implements Mo protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -98,9 +96,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -138,10 +134,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -149,10 +142,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -188,10 +178,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -199,9 +186,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -209,9 +194,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -219,9 +202,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -265,9 +246,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -277,10 +256,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/AdditionalPropertiesClass.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/AdditionalPropertiesClass.php index 28ea43014add..96d9f2bc15d3 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/AdditionalPropertiesClass.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/AdditionalPropertiesClass.php @@ -90,9 +90,7 @@ class AdditionalPropertiesClass implements ModelInterface, ArrayAccess, JsonSeri protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -100,9 +98,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -140,10 +136,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -151,10 +144,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -193,10 +183,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -204,9 +191,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -214,9 +199,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -224,9 +207,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -271,9 +252,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -283,10 +262,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/AllOfWithSingleRef.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/AllOfWithSingleRef.php index 46ec21861343..79511477672c 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/AllOfWithSingleRef.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/AllOfWithSingleRef.php @@ -90,9 +90,7 @@ class AllOfWithSingleRef implements ModelInterface, ArrayAccess, JsonSerializabl protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -100,9 +98,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -140,10 +136,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -151,10 +144,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -193,10 +183,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -204,9 +191,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -214,9 +199,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -224,9 +207,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -271,9 +252,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -283,10 +262,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Animal.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Animal.php index cb176f0eb9d2..8e5325fc26be 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Animal.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Animal.php @@ -90,9 +90,7 @@ class Animal implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -100,9 +98,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -140,10 +136,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -151,10 +144,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -193,10 +183,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -204,9 +191,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -214,9 +199,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -224,9 +207,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -276,9 +257,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -291,10 +270,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ApiResponse.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ApiResponse.php index 009f6d421453..c3df43766548 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ApiResponse.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ApiResponse.php @@ -93,9 +93,7 @@ class ApiResponse implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -103,9 +101,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -143,10 +139,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -154,10 +147,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -199,10 +189,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -210,9 +197,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -220,9 +205,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -230,9 +213,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -278,9 +259,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -290,10 +269,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayOfArrayOfNumberOnly.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayOfArrayOfNumberOnly.php index e7edd85b89e3..0274d50ad622 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayOfArrayOfNumberOnly.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayOfArrayOfNumberOnly.php @@ -87,9 +87,7 @@ class ArrayOfArrayOfNumberOnly implements ModelInterface, ArrayAccess, JsonSeria protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -97,9 +95,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -137,10 +133,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -148,10 +141,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -187,10 +177,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -198,9 +185,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -208,9 +193,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -218,9 +201,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -264,9 +245,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -276,10 +255,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayOfNumberOnly.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayOfNumberOnly.php index 09ff7cb3d8d7..eed712b72cae 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayOfNumberOnly.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayOfNumberOnly.php @@ -87,9 +87,7 @@ class ArrayOfNumberOnly implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -97,9 +95,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -137,10 +133,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -148,10 +141,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -187,10 +177,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -198,9 +185,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -208,9 +193,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -218,9 +201,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -264,9 +245,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -276,10 +255,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayTest.php index 80d26e20fd82..e55b22125010 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayTest.php @@ -93,9 +93,7 @@ class ArrayTest implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -103,9 +101,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -143,10 +139,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -154,10 +147,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -199,10 +189,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -210,9 +197,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -220,9 +205,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -230,9 +213,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -278,9 +259,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -298,10 +277,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Capitalization.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Capitalization.php index 36c725a29dd4..b63bfd6f2821 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Capitalization.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Capitalization.php @@ -102,9 +102,7 @@ class Capitalization implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -112,9 +110,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -152,10 +148,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -163,10 +156,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -217,10 +207,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -228,9 +215,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -238,9 +223,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -248,9 +231,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -299,9 +280,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -311,10 +290,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Cat.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Cat.php index 6f40684a086e..65deb5dd0d33 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Cat.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Cat.php @@ -81,9 +81,7 @@ class Cat extends Animal protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -91,9 +89,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -131,10 +127,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -142,10 +135,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -181,10 +171,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -192,9 +179,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -202,9 +187,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -212,9 +195,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -254,9 +235,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -266,10 +245,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Category.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Category.php index cb3b0c81fe73..79d7c39343f6 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Category.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Category.php @@ -90,9 +90,7 @@ class Category implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -100,9 +98,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -140,10 +136,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -151,10 +144,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -193,10 +183,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -204,9 +191,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -214,9 +199,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -224,9 +207,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -271,9 +252,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -286,10 +265,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ChildWithNullable.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ChildWithNullable.php index d5dd87674b93..ef4c3bfc059a 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ChildWithNullable.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ChildWithNullable.php @@ -81,9 +81,7 @@ class ChildWithNullable extends ParentWithNullable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -91,9 +89,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -131,10 +127,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -142,10 +135,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -181,10 +171,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -192,9 +179,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -202,9 +187,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -212,9 +195,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -254,9 +235,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -266,10 +245,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ClassModel.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ClassModel.php index 7573069bfa43..54942681bfbc 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ClassModel.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ClassModel.php @@ -88,9 +88,7 @@ class ClassModel implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -98,9 +96,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -138,10 +134,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -149,10 +142,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -188,10 +178,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -199,9 +186,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -209,9 +194,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -219,9 +202,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -265,9 +246,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -277,10 +256,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Client.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Client.php index 88fc2e758170..e58307bb3d56 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Client.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Client.php @@ -87,9 +87,7 @@ class Client implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -97,9 +95,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -137,10 +133,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -148,10 +141,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -187,10 +177,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -198,9 +185,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -208,9 +193,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -218,9 +201,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -264,9 +245,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -276,10 +255,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/DeprecatedObject.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/DeprecatedObject.php index 674d3138bc2b..6b6b59981df7 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/DeprecatedObject.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/DeprecatedObject.php @@ -87,9 +87,7 @@ class DeprecatedObject implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -97,9 +95,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -137,10 +133,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -148,10 +141,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -187,10 +177,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -198,9 +185,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -208,9 +193,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -218,9 +201,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -264,9 +245,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -276,10 +255,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/DiscriminatorBase.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/DiscriminatorBase.php index bcd5890714a3..1b43b99ea02b 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/DiscriminatorBase.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/DiscriminatorBase.php @@ -87,9 +87,7 @@ class DiscriminatorBase implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -97,9 +95,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -137,10 +133,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -148,10 +141,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -187,10 +177,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -198,9 +185,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -208,9 +193,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -218,9 +201,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -268,9 +249,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -283,10 +262,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/DiscriminatorChild.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/DiscriminatorChild.php index 385d408d70d8..46cc0238d462 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/DiscriminatorChild.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/DiscriminatorChild.php @@ -81,9 +81,7 @@ class DiscriminatorChild extends DiscriminatorBase protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -91,9 +89,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -131,10 +127,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -142,10 +135,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -181,10 +171,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -192,9 +179,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -202,9 +187,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -212,9 +195,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -254,9 +235,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -266,10 +245,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Dog.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Dog.php index d5ad555a8c0d..dafd56ab08c5 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Dog.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Dog.php @@ -81,9 +81,7 @@ class Dog extends Animal protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -91,9 +89,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -131,10 +127,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -142,10 +135,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -181,10 +171,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -192,9 +179,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -202,9 +187,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -212,9 +195,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -254,9 +235,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -266,10 +245,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumArrays.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumArrays.php index 3c6e37fe37b9..ce17c8bac7dd 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumArrays.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumArrays.php @@ -90,9 +90,7 @@ class EnumArrays implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -100,9 +98,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -140,10 +136,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -151,10 +144,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -193,10 +183,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -204,9 +191,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -214,9 +199,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -224,9 +207,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -301,9 +282,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -322,10 +301,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumTest.php index 3b69d1493e38..150284f5e22d 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumTest.php @@ -108,9 +108,7 @@ class EnumTest implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -118,9 +116,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -158,10 +154,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -169,10 +162,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -229,10 +219,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -240,9 +227,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -250,9 +235,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -260,9 +243,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -377,9 +358,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -428,10 +407,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Error.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Error.php index ecd2b2894ba2..d18256328528 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Error.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Error.php @@ -91,9 +91,7 @@ class Error implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -101,9 +99,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -141,10 +137,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -152,10 +145,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -194,10 +184,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -205,9 +192,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -215,9 +200,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -225,9 +208,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -272,9 +253,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -287,10 +266,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ErrorResponse.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ErrorResponse.php index 141cb9597f41..ea48f51b5f1e 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ErrorResponse.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ErrorResponse.php @@ -90,9 +90,7 @@ class ErrorResponse implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -100,9 +98,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -140,10 +136,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -151,10 +144,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -193,10 +183,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -204,9 +191,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -214,9 +199,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -224,9 +207,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -271,9 +252,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -283,10 +262,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FakeBigDecimalMap200Response.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FakeBigDecimalMap200Response.php index 03c1340e31cb..8f7d2fd860be 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FakeBigDecimalMap200Response.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FakeBigDecimalMap200Response.php @@ -90,9 +90,7 @@ class FakeBigDecimalMap200Response implements ModelInterface, ArrayAccess, JsonS protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -100,9 +98,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -140,10 +136,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -151,10 +144,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -193,10 +183,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -204,9 +191,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -214,9 +199,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -224,9 +207,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -271,9 +252,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -283,10 +262,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/File.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/File.php index d1417a75ba1c..64e2ae8609dd 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/File.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/File.php @@ -88,9 +88,7 @@ class File implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -98,9 +96,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -138,10 +134,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -149,10 +142,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -188,10 +178,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -199,9 +186,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -209,9 +194,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -219,9 +202,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -265,9 +246,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -277,10 +256,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FileSchemaTestClass.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FileSchemaTestClass.php index 5267131ef6e6..e2290c4ab155 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FileSchemaTestClass.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FileSchemaTestClass.php @@ -90,9 +90,7 @@ class FileSchemaTestClass implements ModelInterface, ArrayAccess, JsonSerializab protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -100,9 +98,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -140,10 +136,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -151,10 +144,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -193,10 +183,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -204,9 +191,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -214,9 +199,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -224,9 +207,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -271,9 +252,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -283,10 +262,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Foo.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Foo.php index fc3558f2bfc9..8a179ef77581 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Foo.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Foo.php @@ -87,9 +87,7 @@ class Foo implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -97,9 +95,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -137,10 +133,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -148,10 +141,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -187,10 +177,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -198,9 +185,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -208,9 +193,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -218,9 +201,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -264,9 +245,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -276,10 +255,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FooGetDefaultResponse.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FooGetDefaultResponse.php index 12a192a43cca..64dd5f6eb67d 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FooGetDefaultResponse.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FooGetDefaultResponse.php @@ -87,9 +87,7 @@ class FooGetDefaultResponse implements ModelInterface, ArrayAccess, JsonSerializ protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -97,9 +95,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -137,10 +133,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -148,10 +141,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -187,10 +177,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -198,9 +185,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -208,9 +193,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -218,9 +201,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -264,9 +245,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -276,10 +255,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FormatTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FormatTest.php index 9f5bfdf120b9..7d070696b408 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FormatTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FormatTest.php @@ -135,9 +135,7 @@ class FormatTest implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -145,9 +143,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -185,10 +181,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -196,10 +189,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -283,10 +273,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -294,9 +281,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -304,9 +289,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -314,9 +297,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -376,9 +357,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -460,10 +439,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/HasOnlyReadOnly.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/HasOnlyReadOnly.php index 0c6f936446f5..296d5076e2b7 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/HasOnlyReadOnly.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/HasOnlyReadOnly.php @@ -90,9 +90,7 @@ class HasOnlyReadOnly implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -100,9 +98,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -140,10 +136,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -151,10 +144,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -193,10 +183,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -204,9 +191,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -214,9 +199,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -224,9 +207,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -271,9 +252,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -283,10 +262,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/HealthCheckResult.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/HealthCheckResult.php index 58aecfacfe96..3a8b31cd27cc 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/HealthCheckResult.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/HealthCheckResult.php @@ -88,9 +88,7 @@ class HealthCheckResult implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -98,9 +96,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -138,10 +134,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -149,10 +142,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -188,10 +178,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -199,9 +186,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -209,9 +194,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -219,9 +202,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -265,9 +246,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -277,10 +256,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/MapTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/MapTest.php index 3d9fc74c29e3..9e2d1bf5975f 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/MapTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/MapTest.php @@ -96,9 +96,7 @@ class MapTest implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -106,9 +104,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -146,10 +142,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -157,10 +150,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -205,10 +195,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -216,9 +203,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -226,9 +211,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -236,9 +219,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -300,9 +281,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -312,10 +291,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/MixedPropertiesAndAdditionalPropertiesClass.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/MixedPropertiesAndAdditionalPropertiesClass.php index dabd385f73d6..eba23d3e62c7 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/MixedPropertiesAndAdditionalPropertiesClass.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/MixedPropertiesAndAdditionalPropertiesClass.php @@ -93,9 +93,7 @@ class MixedPropertiesAndAdditionalPropertiesClass implements ModelInterface, Arr protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -103,9 +101,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -143,10 +139,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -154,10 +147,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -199,10 +189,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -210,9 +197,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -220,9 +205,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -230,9 +213,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -278,9 +259,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -290,10 +269,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Model200Response.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Model200Response.php index 0d204714d223..8fb51a4c8723 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Model200Response.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Model200Response.php @@ -91,9 +91,7 @@ class Model200Response implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -101,9 +99,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -141,10 +137,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -152,10 +145,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -194,10 +184,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -205,9 +192,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -215,9 +200,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -225,9 +208,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -272,9 +253,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -284,10 +263,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelInterface.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelInterface.php index e0331cec54c9..ef555b397e19 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelInterface.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelInterface.php @@ -45,42 +45,43 @@ public function getModelName(): string; /** * Array of property to type mappings. Used for (de)serialization * - * @return array + * @return array */ public static function openAPITypes(): array; /** * Array of property to format mappings. Used for (de)serialization * - * @return array + * @return array */ public static function openAPIFormats(): array; /** - * Array of attributes where the key is the local name, and the value is the original name + * Array of attributes where the key is the local name, + * and the value is the original name * - * @return array + * @return array */ public static function attributeMap(): array; /** * Array of attributes to setter functions (for deserialization of responses) * - * @return array + * @return array */ public static function setters(): array; /** * Array of attributes to getter functions (for serialization of requests) * - * @return array + * @return array */ public static function getters(): array; /** * Show all the invalid properties with reasons. * - * @return array + * @return string[] invalid properties with reasons */ public function listInvalidProperties(): array; @@ -88,7 +89,7 @@ public function listInvalidProperties(): array; * Validate all the properties in the model * return true if all passed * - * @return bool + * @return bool True if all properties are valid */ public function valid(): bool; diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelList.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelList.php index 6855c1265646..ba6b24b77358 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelList.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelList.php @@ -87,9 +87,7 @@ class ModelList implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -97,9 +95,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -137,10 +133,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -148,10 +141,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -187,10 +177,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -198,9 +185,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -208,9 +193,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -218,9 +201,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -264,9 +245,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -276,10 +255,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelReturn.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelReturn.php index 774eb217542a..68d958d353a7 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelReturn.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelReturn.php @@ -88,9 +88,7 @@ class ModelReturn implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -98,9 +96,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -138,10 +134,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -149,10 +142,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -188,10 +178,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -199,9 +186,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -209,9 +194,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -219,9 +202,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -265,9 +246,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -277,10 +256,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Name.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Name.php index 1621168273ef..49e023422059 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Name.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Name.php @@ -97,9 +97,7 @@ class Name implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -107,9 +105,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -147,10 +143,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -158,10 +151,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -206,10 +196,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -217,9 +204,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -227,9 +212,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -237,9 +220,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -286,9 +267,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -301,10 +280,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/NullableClass.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/NullableClass.php index 4c7c7121d34b..d41745c55289 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/NullableClass.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/NullableClass.php @@ -120,9 +120,7 @@ class NullableClass implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -130,9 +128,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -170,10 +166,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -181,10 +174,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -253,10 +243,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -264,9 +251,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -274,9 +259,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -284,9 +267,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -341,9 +322,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -353,10 +332,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/NumberOnly.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/NumberOnly.php index 843b69bf75af..500063ef3d41 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/NumberOnly.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/NumberOnly.php @@ -87,9 +87,7 @@ class NumberOnly implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -97,9 +95,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -137,10 +133,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -148,10 +141,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -187,10 +177,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -198,9 +185,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -208,9 +193,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -218,9 +201,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -264,9 +245,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -276,10 +255,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ObjectWithDeprecatedFields.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ObjectWithDeprecatedFields.php index 781040cd8de8..cee9f9b66eca 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ObjectWithDeprecatedFields.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ObjectWithDeprecatedFields.php @@ -96,9 +96,7 @@ class ObjectWithDeprecatedFields implements ModelInterface, ArrayAccess, JsonSer protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -106,9 +104,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -146,10 +142,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -157,10 +150,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -205,10 +195,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -216,9 +203,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -226,9 +211,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -236,9 +219,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -285,9 +266,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -297,10 +276,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Order.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Order.php index b667d14ce2f3..4de6e2d23d65 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Order.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Order.php @@ -102,9 +102,7 @@ class Order implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -112,9 +110,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -152,10 +148,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -163,10 +156,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -217,10 +207,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -228,9 +215,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -238,9 +223,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -248,9 +231,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -316,9 +297,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -337,10 +316,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterComposite.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterComposite.php index 171f6e99e7bd..fa318aef2fd1 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterComposite.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterComposite.php @@ -93,9 +93,7 @@ class OuterComposite implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -103,9 +101,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -143,10 +139,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -154,10 +147,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -199,10 +189,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -210,9 +197,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -220,9 +205,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -230,9 +213,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -278,9 +259,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -290,10 +269,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterObjectWithEnumProperty.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterObjectWithEnumProperty.php index 96cc9281e369..b5e257e8acca 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterObjectWithEnumProperty.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterObjectWithEnumProperty.php @@ -87,9 +87,7 @@ class OuterObjectWithEnumProperty implements ModelInterface, ArrayAccess, JsonSe protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -97,9 +95,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -137,10 +133,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -148,10 +141,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -187,10 +177,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -198,9 +185,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -208,9 +193,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -218,9 +201,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -264,9 +245,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -279,10 +258,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ParentWithNullable.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ParentWithNullable.php index 4a29df396263..ec5176a025be 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ParentWithNullable.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ParentWithNullable.php @@ -90,9 +90,7 @@ class ParentWithNullable implements ModelInterface, ArrayAccess, JsonSerializabl protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -100,9 +98,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -140,10 +136,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -151,10 +144,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -193,10 +183,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -204,9 +191,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -214,9 +199,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -224,9 +207,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -287,9 +268,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -308,10 +287,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Pet.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Pet.php index e4b444e17b1a..6b5eb79a0695 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Pet.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Pet.php @@ -102,9 +102,7 @@ class Pet implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -112,9 +110,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -152,10 +148,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -163,10 +156,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -217,10 +207,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -228,9 +215,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -238,9 +223,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -248,9 +231,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -316,9 +297,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -343,10 +322,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ReadOnlyFirst.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ReadOnlyFirst.php index e157a0a6f045..734c49a2b006 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ReadOnlyFirst.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ReadOnlyFirst.php @@ -90,9 +90,7 @@ class ReadOnlyFirst implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -100,9 +98,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -140,10 +136,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -151,10 +144,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -193,10 +183,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -204,9 +191,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -214,9 +199,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -224,9 +207,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -271,9 +252,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -283,10 +262,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/SpecialModelName.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/SpecialModelName.php index ef42d6ac8504..4080b6c85a7e 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/SpecialModelName.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/SpecialModelName.php @@ -87,9 +87,7 @@ class SpecialModelName implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -97,9 +95,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -137,10 +133,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -148,10 +141,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -187,10 +177,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -198,9 +185,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -208,9 +193,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -218,9 +201,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -264,9 +245,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -276,10 +255,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Tag.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Tag.php index b2615bbd1d3c..5a35408ea9f4 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Tag.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Tag.php @@ -90,9 +90,7 @@ class Tag implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -100,9 +98,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -140,10 +136,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -151,10 +144,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -193,10 +183,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -204,9 +191,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -214,9 +199,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -224,9 +207,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -271,9 +252,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -283,10 +262,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/TestInlineFreeformAdditionalPropertiesRequest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/TestInlineFreeformAdditionalPropertiesRequest.php index ed16bf6b92e5..787192a84170 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/TestInlineFreeformAdditionalPropertiesRequest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/TestInlineFreeformAdditionalPropertiesRequest.php @@ -87,9 +87,7 @@ class TestInlineFreeformAdditionalPropertiesRequest implements ModelInterface, A protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -97,9 +95,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -137,10 +133,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -148,10 +141,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -187,10 +177,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -198,9 +185,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -208,9 +193,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -218,9 +201,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -264,9 +245,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -276,10 +255,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool { diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/User.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/User.php index 1c415d98fcf0..e82c1836e697 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/User.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/User.php @@ -108,9 +108,7 @@ class User implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -118,9 +116,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -158,10 +154,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -169,10 +162,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -229,10 +219,7 @@ public function isNullableSetToNull(string $property): bool ]; /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array + * {@inheritdoc} */ public static function attributeMap(): array { @@ -240,9 +227,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -250,9 +235,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -260,9 +243,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -313,9 +294,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default } /** - * Show all the invalid properties with reasons. - * - * @return string[] invalid properties with reasons + * {@inheritdoc} */ public function listInvalidProperties(): array { @@ -325,10 +304,7 @@ public function listInvalidProperties(): array } /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid + * {@inheritdoc} */ public function valid(): bool {