From e04e582f9f199714237ac2f1e70fd1923ee4e64e Mon Sep 17 00:00:00 2001 From: Massimiliano Modena Date: Thu, 22 May 2025 10:37:35 +0000 Subject: [PATCH 1/2] fix mapping varname in case of variable case changing. --- .../src/main/resources/php/model_generic.mustache | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/php/model_generic.mustache b/modules/openapi-generator/src/main/resources/php/model_generic.mustache index 80ad599c1726..9578e95ad853 100644 --- a/modules/openapi-generator/src/main/resources/php/model_generic.mustache +++ b/modules/openapi-generator/src/main/resources/php/model_generic.mustache @@ -261,11 +261,11 @@ class {{classname}} {{#parentSchema}}extends {{{parent}}}{{/parentSchema}}{{^par */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** From f62451910831d809313e5f311c9412a327fb396b Mon Sep 17 00:00:00 2001 From: Massimiliano Modena Date: Thu, 22 May 2025 11:38:42 +0000 Subject: [PATCH 2/2] adding samples --- .../lib/Model/AdditionalPropertiesClass.php | 8 +- .../lib/Model/AllOfWithSingleRef.php | 8 +- .../OpenAPIClient-php/lib/Model/Animal.php | 8 +- .../lib/Model/ApiResponse.php | 8 +- .../lib/Model/ArrayOfArrayOfNumberOnly.php | 8 +- .../lib/Model/ArrayOfNumberOnly.php | 8 +- .../OpenAPIClient-php/lib/Model/ArrayTest.php | 8 +- .../lib/Model/Capitalization.php | 8 +- .../php/OpenAPIClient-php/lib/Model/Cat.php | 8 +- .../OpenAPIClient-php/lib/Model/Category.php | 8 +- .../lib/Model/ClassModel.php | 8 +- .../OpenAPIClient-php/lib/Model/Client.php | 8 +- .../lib/Model/DeprecatedObject.php | 8 +- .../php/OpenAPIClient-php/lib/Model/Dog.php | 8 +- .../lib/Model/EnumArrays.php | 8 +- .../OpenAPIClient-php/lib/Model/EnumTest.php | 8 +- .../lib/Model/ErrorResponse.php | 8 +- .../Model/FakeBigDecimalMap200Response.php | 8 +- .../php/OpenAPIClient-php/lib/Model/File.php | 8 +- .../lib/Model/FileSchemaTestClass.php | 8 +- .../php/OpenAPIClient-php/lib/Model/Foo.php | 8 +- .../lib/Model/FooGetDefaultResponse.php | 8 +- .../lib/Model/FormatTest.php | 8 +- .../lib/Model/HasOnlyReadOnly.php | 8 +- .../lib/Model/HealthCheckResult.php | 8 +- .../OpenAPIClient-php/lib/Model/MapTest.php | 8 +- ...PropertiesAndAdditionalPropertiesClass.php | 8 +- .../lib/Model/Model200Response.php | 8 +- .../OpenAPIClient-php/lib/Model/ModelList.php | 8 +- .../lib/Model/ModelReturn.php | 8 +- .../php/OpenAPIClient-php/lib/Model/Name.php | 8 +- .../lib/Model/NullableClass.php | 8 +- .../lib/Model/NumberOnly.php | 8 +- .../lib/Model/ObjectWithDeprecatedFields.php | 8 +- .../php/OpenAPIClient-php/lib/Model/Order.php | 8 +- .../lib/Model/OuterComposite.php | 8 +- .../lib/Model/OuterObjectWithEnumProperty.php | 8 +- .../php/OpenAPIClient-php/lib/Model/Pet.php | 8 +- .../lib/Model/PetWithFile.php | 8 +- .../lib/Model/PropertyNameMapping.php | 8 +- .../lib/Model/ReadOnlyFirst.php | 8 +- .../lib/Model/SpecialModelName.php | 8 +- .../php/OpenAPIClient-php/lib/Model/Tag.php | 8 +- ...ineFreeformAdditionalPropertiesRequest.php | 8 +- .../php/OpenAPIClient-php/lib/Model/User.php | 8 +- .../lib/Model/AdditionalPropertiesClass.php | 8 +- .../psr-18/lib/Model/AllOfWithSingleRef.php | 8 +- .../petstore/php/psr-18/lib/Model/Animal.php | 8 +- .../php/psr-18/lib/Model/ApiResponse.php | 8 +- .../lib/Model/ArrayOfArrayOfNumberOnly.php | 8 +- .../psr-18/lib/Model/ArrayOfNumberOnly.php | 8 +- .../php/psr-18/lib/Model/ArrayTest.php | 8 +- .../php/psr-18/lib/Model/Capitalization.php | 8 +- .../petstore/php/psr-18/lib/Model/Cat.php | 8 +- .../php/psr-18/lib/Model/Category.php | 8 +- .../php/psr-18/lib/Model/ClassModel.php | 8 +- .../petstore/php/psr-18/lib/Model/Client.php | 8 +- .../php/psr-18/lib/Model/DeprecatedObject.php | 8 +- .../petstore/php/psr-18/lib/Model/Dog.php | 8 +- .../php/psr-18/lib/Model/EnumArrays.php | 8 +- .../php/psr-18/lib/Model/EnumTest.php | 8 +- .../php/psr-18/lib/Model/ErrorResponse.php | 8 +- .../Model/FakeBigDecimalMap200Response.php | 8 +- .../petstore/php/psr-18/lib/Model/File.php | 8 +- .../psr-18/lib/Model/FileSchemaTestClass.php | 8 +- .../petstore/php/psr-18/lib/Model/Foo.php | 8 +- .../lib/Model/FooGetDefaultResponse.php | 8 +- .../php/psr-18/lib/Model/FormatTest.php | 8 +- .../php/psr-18/lib/Model/HasOnlyReadOnly.php | 8 +- .../psr-18/lib/Model/HealthCheckResult.php | 8 +- .../petstore/php/psr-18/lib/Model/MapTest.php | 8 +- ...PropertiesAndAdditionalPropertiesClass.php | 8 +- .../php/psr-18/lib/Model/Model200Response.php | 8 +- .../php/psr-18/lib/Model/ModelList.php | 8 +- .../php/psr-18/lib/Model/ModelReturn.php | 8 +- .../petstore/php/psr-18/lib/Model/Name.php | 8 +- .../php/psr-18/lib/Model/NullableClass.php | 8 +- .../php/psr-18/lib/Model/NumberOnly.php | 8 +- .../lib/Model/ObjectWithDeprecatedFields.php | 8 +- .../petstore/php/psr-18/lib/Model/Order.php | 8 +- .../php/psr-18/lib/Model/OuterComposite.php | 8 +- .../lib/Model/OuterObjectWithEnumProperty.php | 8 +- .../petstore/php/psr-18/lib/Model/Pet.php | 8 +- .../php/psr-18/lib/Model/PetWithFile.php | 8 +- .../psr-18/lib/Model/PropertyNameMapping.php | 8 +- .../php/psr-18/lib/Model/ReadOnlyFirst.php | 8 +- .../php/psr-18/lib/Model/SpecialModelName.php | 8 +- .../petstore/php/psr-18/lib/Model/Tag.php | 8 +- ...ineFreeformAdditionalPropertiesRequest.php | 8 +- .../petstore/php/psr-18/lib/Model/User.php | 8 +- .../typescript-jquery/npm/package-lock.json | 545 ++++++++++++ .../typescript-node/npm/package-lock.json | 773 ++++++++++++++++++ 92 files changed, 1678 insertions(+), 360 deletions(-) create mode 100644 samples/client/petstore/typescript-jquery/npm/package-lock.json create mode 100644 samples/client/petstore/typescript-node/npm/package-lock.json diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/AdditionalPropertiesClass.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/AdditionalPropertiesClass.php index 87abf28c82ec..90043551b5ac 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/AdditionalPropertiesClass.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/AdditionalPropertiesClass.php @@ -265,11 +265,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/AllOfWithSingleRef.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/AllOfWithSingleRef.php index 99a5e8645121..db12823dd98d 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/AllOfWithSingleRef.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/AllOfWithSingleRef.php @@ -265,11 +265,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Animal.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Animal.php index 62c7af8d4ac6..2e787a3073f2 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Animal.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Animal.php @@ -268,11 +268,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ApiResponse.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ApiResponse.php index 458bc5072243..07907933e3fb 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ApiResponse.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ApiResponse.php @@ -272,11 +272,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayOfArrayOfNumberOnly.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayOfArrayOfNumberOnly.php index 29e42b3ffcba..b304f71d9cd3 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayOfArrayOfNumberOnly.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayOfArrayOfNumberOnly.php @@ -258,11 +258,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayOfNumberOnly.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayOfNumberOnly.php index e2b364d0122f..fe068f06771a 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayOfNumberOnly.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayOfNumberOnly.php @@ -258,11 +258,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayTest.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayTest.php index 384e2f0ac348..b81a6bac7dbc 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayTest.php @@ -272,11 +272,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Capitalization.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Capitalization.php index f66f8d6e39f2..b3f4fe31d350 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Capitalization.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Capitalization.php @@ -293,11 +293,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Cat.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Cat.php index 8e2d26491274..2e6cf8129619 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Cat.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Cat.php @@ -252,11 +252,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Category.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Category.php index dfd4fb674675..fb6272bbd713 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Category.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Category.php @@ -265,11 +265,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ClassModel.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ClassModel.php index 5412f8eb4ee2..a454337285ed 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ClassModel.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ClassModel.php @@ -259,11 +259,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Client.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Client.php index 7f209a2a884d..9f37811f0646 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Client.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Client.php @@ -258,11 +258,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/DeprecatedObject.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/DeprecatedObject.php index 50bdee70dbfb..4f4341d9ed1b 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/DeprecatedObject.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/DeprecatedObject.php @@ -258,11 +258,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Dog.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Dog.php index 2e84c922db25..88a1f088a2cb 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Dog.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Dog.php @@ -252,11 +252,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/EnumArrays.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/EnumArrays.php index 46b4697e1c23..d496e9ae2a28 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/EnumArrays.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/EnumArrays.php @@ -295,11 +295,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/EnumTest.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/EnumTest.php index 10aa10e7d05b..f835c78cfdf6 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/EnumTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/EnumTest.php @@ -371,11 +371,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ErrorResponse.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ErrorResponse.php index 60d60492ca45..fdac946f405b 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ErrorResponse.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ErrorResponse.php @@ -265,11 +265,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FakeBigDecimalMap200Response.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FakeBigDecimalMap200Response.php index 891748269d20..ff7ee95f65af 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FakeBigDecimalMap200Response.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FakeBigDecimalMap200Response.php @@ -265,11 +265,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/File.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/File.php index be2861058a08..5fdd006732bb 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/File.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/File.php @@ -259,11 +259,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FileSchemaTestClass.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FileSchemaTestClass.php index 292da0a0e9d3..b58589fc6048 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FileSchemaTestClass.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FileSchemaTestClass.php @@ -265,11 +265,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Foo.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Foo.php index d86d0d23b264..17c4fcd8661f 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Foo.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Foo.php @@ -258,11 +258,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FooGetDefaultResponse.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FooGetDefaultResponse.php index 2f537a7a027d..bd29030ea73e 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FooGetDefaultResponse.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FooGetDefaultResponse.php @@ -258,11 +258,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FormatTest.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FormatTest.php index 38e7e84fc798..87515db63b08 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FormatTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FormatTest.php @@ -363,11 +363,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/HasOnlyReadOnly.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/HasOnlyReadOnly.php index ae21d2149dad..216eeaf0b002 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/HasOnlyReadOnly.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/HasOnlyReadOnly.php @@ -265,11 +265,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/HealthCheckResult.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/HealthCheckResult.php index b722b9ee288b..5266d46b8a2f 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/HealthCheckResult.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/HealthCheckResult.php @@ -259,11 +259,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/MapTest.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/MapTest.php index 2bd8167043a6..6630947a2f11 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/MapTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/MapTest.php @@ -294,11 +294,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/MixedPropertiesAndAdditionalPropertiesClass.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/MixedPropertiesAndAdditionalPropertiesClass.php index e3084f1b3fc2..3d382de1dfa9 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/MixedPropertiesAndAdditionalPropertiesClass.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/MixedPropertiesAndAdditionalPropertiesClass.php @@ -272,11 +272,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Model200Response.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Model200Response.php index 993e6a4952cf..72788d606d9b 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Model200Response.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Model200Response.php @@ -266,11 +266,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ModelList.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ModelList.php index 08758f7e3443..bf1889e1a939 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ModelList.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ModelList.php @@ -258,11 +258,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ModelReturn.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ModelReturn.php index ceaf4923952b..dfeb4e8d795f 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ModelReturn.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ModelReturn.php @@ -259,11 +259,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Name.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Name.php index c809bf32887e..f028629c059b 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Name.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Name.php @@ -280,11 +280,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/NullableClass.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/NullableClass.php index bb52afb3fa13..7638d4feea1e 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/NullableClass.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/NullableClass.php @@ -335,11 +335,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/NumberOnly.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/NumberOnly.php index 92ab60da72e4..09c8a164283a 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/NumberOnly.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/NumberOnly.php @@ -258,11 +258,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ObjectWithDeprecatedFields.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ObjectWithDeprecatedFields.php index 8eec05f7be2c..35497f3affdb 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ObjectWithDeprecatedFields.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ObjectWithDeprecatedFields.php @@ -279,11 +279,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Order.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Order.php index fb1a608509d8..7e087417be67 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Order.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Order.php @@ -310,11 +310,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterComposite.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterComposite.php index e77e138a038e..152ecf641b51 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterComposite.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterComposite.php @@ -272,11 +272,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterObjectWithEnumProperty.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterObjectWithEnumProperty.php index 19a6b8e966d7..ecebe52e243a 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterObjectWithEnumProperty.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterObjectWithEnumProperty.php @@ -258,11 +258,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Pet.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Pet.php index 4a9ee876ee5b..9852735ffeb0 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Pet.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Pet.php @@ -310,11 +310,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/PetWithFile.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/PetWithFile.php index c6f33ff55ef9..72cf8481e4c8 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/PetWithFile.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/PetWithFile.php @@ -324,11 +324,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/PropertyNameMapping.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/PropertyNameMapping.php index d3cb87c127cd..63f5bb264a52 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/PropertyNameMapping.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/PropertyNameMapping.php @@ -279,11 +279,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ReadOnlyFirst.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ReadOnlyFirst.php index f2997671985e..dcd054426ec7 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ReadOnlyFirst.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ReadOnlyFirst.php @@ -265,11 +265,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/SpecialModelName.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/SpecialModelName.php index 5ac0c8203569..5a45081bb030 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/SpecialModelName.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/SpecialModelName.php @@ -258,11 +258,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Tag.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Tag.php index 8df80df44698..a60becef0be1 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Tag.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Tag.php @@ -265,11 +265,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/TestInlineFreeformAdditionalPropertiesRequest.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/TestInlineFreeformAdditionalPropertiesRequest.php index f156aa028ed2..da592348cafd 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/TestInlineFreeformAdditionalPropertiesRequest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/TestInlineFreeformAdditionalPropertiesRequest.php @@ -258,11 +258,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/User.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/User.php index 04fdce9b0971..dff4edbc955c 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/User.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/User.php @@ -307,11 +307,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/AdditionalPropertiesClass.php b/samples/client/petstore/php/psr-18/lib/Model/AdditionalPropertiesClass.php index 87abf28c82ec..90043551b5ac 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/AdditionalPropertiesClass.php +++ b/samples/client/petstore/php/psr-18/lib/Model/AdditionalPropertiesClass.php @@ -265,11 +265,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/AllOfWithSingleRef.php b/samples/client/petstore/php/psr-18/lib/Model/AllOfWithSingleRef.php index 99a5e8645121..db12823dd98d 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/AllOfWithSingleRef.php +++ b/samples/client/petstore/php/psr-18/lib/Model/AllOfWithSingleRef.php @@ -265,11 +265,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/Animal.php b/samples/client/petstore/php/psr-18/lib/Model/Animal.php index 62c7af8d4ac6..2e787a3073f2 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/Animal.php +++ b/samples/client/petstore/php/psr-18/lib/Model/Animal.php @@ -268,11 +268,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/ApiResponse.php b/samples/client/petstore/php/psr-18/lib/Model/ApiResponse.php index 458bc5072243..07907933e3fb 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/ApiResponse.php +++ b/samples/client/petstore/php/psr-18/lib/Model/ApiResponse.php @@ -272,11 +272,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/ArrayOfArrayOfNumberOnly.php b/samples/client/petstore/php/psr-18/lib/Model/ArrayOfArrayOfNumberOnly.php index 29e42b3ffcba..b304f71d9cd3 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/ArrayOfArrayOfNumberOnly.php +++ b/samples/client/petstore/php/psr-18/lib/Model/ArrayOfArrayOfNumberOnly.php @@ -258,11 +258,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/ArrayOfNumberOnly.php b/samples/client/petstore/php/psr-18/lib/Model/ArrayOfNumberOnly.php index e2b364d0122f..fe068f06771a 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/ArrayOfNumberOnly.php +++ b/samples/client/petstore/php/psr-18/lib/Model/ArrayOfNumberOnly.php @@ -258,11 +258,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/ArrayTest.php b/samples/client/petstore/php/psr-18/lib/Model/ArrayTest.php index 384e2f0ac348..b81a6bac7dbc 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/ArrayTest.php +++ b/samples/client/petstore/php/psr-18/lib/Model/ArrayTest.php @@ -272,11 +272,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/Capitalization.php b/samples/client/petstore/php/psr-18/lib/Model/Capitalization.php index f66f8d6e39f2..b3f4fe31d350 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/Capitalization.php +++ b/samples/client/petstore/php/psr-18/lib/Model/Capitalization.php @@ -293,11 +293,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/Cat.php b/samples/client/petstore/php/psr-18/lib/Model/Cat.php index 8e2d26491274..2e6cf8129619 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/Cat.php +++ b/samples/client/petstore/php/psr-18/lib/Model/Cat.php @@ -252,11 +252,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/Category.php b/samples/client/petstore/php/psr-18/lib/Model/Category.php index dfd4fb674675..fb6272bbd713 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/Category.php +++ b/samples/client/petstore/php/psr-18/lib/Model/Category.php @@ -265,11 +265,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/ClassModel.php b/samples/client/petstore/php/psr-18/lib/Model/ClassModel.php index 5412f8eb4ee2..a454337285ed 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/ClassModel.php +++ b/samples/client/petstore/php/psr-18/lib/Model/ClassModel.php @@ -259,11 +259,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/Client.php b/samples/client/petstore/php/psr-18/lib/Model/Client.php index 7f209a2a884d..9f37811f0646 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/Client.php +++ b/samples/client/petstore/php/psr-18/lib/Model/Client.php @@ -258,11 +258,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/DeprecatedObject.php b/samples/client/petstore/php/psr-18/lib/Model/DeprecatedObject.php index 50bdee70dbfb..4f4341d9ed1b 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/DeprecatedObject.php +++ b/samples/client/petstore/php/psr-18/lib/Model/DeprecatedObject.php @@ -258,11 +258,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/Dog.php b/samples/client/petstore/php/psr-18/lib/Model/Dog.php index 2e84c922db25..88a1f088a2cb 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/Dog.php +++ b/samples/client/petstore/php/psr-18/lib/Model/Dog.php @@ -252,11 +252,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/EnumArrays.php b/samples/client/petstore/php/psr-18/lib/Model/EnumArrays.php index 46b4697e1c23..d496e9ae2a28 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/EnumArrays.php +++ b/samples/client/petstore/php/psr-18/lib/Model/EnumArrays.php @@ -295,11 +295,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/EnumTest.php b/samples/client/petstore/php/psr-18/lib/Model/EnumTest.php index 10aa10e7d05b..f835c78cfdf6 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/EnumTest.php +++ b/samples/client/petstore/php/psr-18/lib/Model/EnumTest.php @@ -371,11 +371,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/ErrorResponse.php b/samples/client/petstore/php/psr-18/lib/Model/ErrorResponse.php index 60d60492ca45..fdac946f405b 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/ErrorResponse.php +++ b/samples/client/petstore/php/psr-18/lib/Model/ErrorResponse.php @@ -265,11 +265,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/FakeBigDecimalMap200Response.php b/samples/client/petstore/php/psr-18/lib/Model/FakeBigDecimalMap200Response.php index 891748269d20..ff7ee95f65af 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/FakeBigDecimalMap200Response.php +++ b/samples/client/petstore/php/psr-18/lib/Model/FakeBigDecimalMap200Response.php @@ -265,11 +265,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/File.php b/samples/client/petstore/php/psr-18/lib/Model/File.php index be2861058a08..5fdd006732bb 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/File.php +++ b/samples/client/petstore/php/psr-18/lib/Model/File.php @@ -259,11 +259,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/FileSchemaTestClass.php b/samples/client/petstore/php/psr-18/lib/Model/FileSchemaTestClass.php index 292da0a0e9d3..b58589fc6048 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/FileSchemaTestClass.php +++ b/samples/client/petstore/php/psr-18/lib/Model/FileSchemaTestClass.php @@ -265,11 +265,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/Foo.php b/samples/client/petstore/php/psr-18/lib/Model/Foo.php index d86d0d23b264..17c4fcd8661f 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/Foo.php +++ b/samples/client/petstore/php/psr-18/lib/Model/Foo.php @@ -258,11 +258,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/FooGetDefaultResponse.php b/samples/client/petstore/php/psr-18/lib/Model/FooGetDefaultResponse.php index 2f537a7a027d..bd29030ea73e 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/FooGetDefaultResponse.php +++ b/samples/client/petstore/php/psr-18/lib/Model/FooGetDefaultResponse.php @@ -258,11 +258,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/FormatTest.php b/samples/client/petstore/php/psr-18/lib/Model/FormatTest.php index 38e7e84fc798..87515db63b08 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/FormatTest.php +++ b/samples/client/petstore/php/psr-18/lib/Model/FormatTest.php @@ -363,11 +363,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/HasOnlyReadOnly.php b/samples/client/petstore/php/psr-18/lib/Model/HasOnlyReadOnly.php index ae21d2149dad..216eeaf0b002 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/HasOnlyReadOnly.php +++ b/samples/client/petstore/php/psr-18/lib/Model/HasOnlyReadOnly.php @@ -265,11 +265,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/HealthCheckResult.php b/samples/client/petstore/php/psr-18/lib/Model/HealthCheckResult.php index b722b9ee288b..5266d46b8a2f 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/HealthCheckResult.php +++ b/samples/client/petstore/php/psr-18/lib/Model/HealthCheckResult.php @@ -259,11 +259,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/MapTest.php b/samples/client/petstore/php/psr-18/lib/Model/MapTest.php index 2bd8167043a6..6630947a2f11 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/MapTest.php +++ b/samples/client/petstore/php/psr-18/lib/Model/MapTest.php @@ -294,11 +294,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/MixedPropertiesAndAdditionalPropertiesClass.php b/samples/client/petstore/php/psr-18/lib/Model/MixedPropertiesAndAdditionalPropertiesClass.php index e3084f1b3fc2..3d382de1dfa9 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/MixedPropertiesAndAdditionalPropertiesClass.php +++ b/samples/client/petstore/php/psr-18/lib/Model/MixedPropertiesAndAdditionalPropertiesClass.php @@ -272,11 +272,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/Model200Response.php b/samples/client/petstore/php/psr-18/lib/Model/Model200Response.php index 993e6a4952cf..72788d606d9b 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/Model200Response.php +++ b/samples/client/petstore/php/psr-18/lib/Model/Model200Response.php @@ -266,11 +266,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/ModelList.php b/samples/client/petstore/php/psr-18/lib/Model/ModelList.php index 08758f7e3443..bf1889e1a939 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/ModelList.php +++ b/samples/client/petstore/php/psr-18/lib/Model/ModelList.php @@ -258,11 +258,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/ModelReturn.php b/samples/client/petstore/php/psr-18/lib/Model/ModelReturn.php index ceaf4923952b..dfeb4e8d795f 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/ModelReturn.php +++ b/samples/client/petstore/php/psr-18/lib/Model/ModelReturn.php @@ -259,11 +259,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/Name.php b/samples/client/petstore/php/psr-18/lib/Model/Name.php index c809bf32887e..f028629c059b 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/Name.php +++ b/samples/client/petstore/php/psr-18/lib/Model/Name.php @@ -280,11 +280,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/NullableClass.php b/samples/client/petstore/php/psr-18/lib/Model/NullableClass.php index bb52afb3fa13..7638d4feea1e 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/NullableClass.php +++ b/samples/client/petstore/php/psr-18/lib/Model/NullableClass.php @@ -335,11 +335,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/NumberOnly.php b/samples/client/petstore/php/psr-18/lib/Model/NumberOnly.php index 92ab60da72e4..09c8a164283a 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/NumberOnly.php +++ b/samples/client/petstore/php/psr-18/lib/Model/NumberOnly.php @@ -258,11 +258,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/ObjectWithDeprecatedFields.php b/samples/client/petstore/php/psr-18/lib/Model/ObjectWithDeprecatedFields.php index 8eec05f7be2c..35497f3affdb 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/ObjectWithDeprecatedFields.php +++ b/samples/client/petstore/php/psr-18/lib/Model/ObjectWithDeprecatedFields.php @@ -279,11 +279,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/Order.php b/samples/client/petstore/php/psr-18/lib/Model/Order.php index fb1a608509d8..7e087417be67 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/Order.php +++ b/samples/client/petstore/php/psr-18/lib/Model/Order.php @@ -310,11 +310,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/OuterComposite.php b/samples/client/petstore/php/psr-18/lib/Model/OuterComposite.php index e77e138a038e..152ecf641b51 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/OuterComposite.php +++ b/samples/client/petstore/php/psr-18/lib/Model/OuterComposite.php @@ -272,11 +272,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/OuterObjectWithEnumProperty.php b/samples/client/petstore/php/psr-18/lib/Model/OuterObjectWithEnumProperty.php index 19a6b8e966d7..ecebe52e243a 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/OuterObjectWithEnumProperty.php +++ b/samples/client/petstore/php/psr-18/lib/Model/OuterObjectWithEnumProperty.php @@ -258,11 +258,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/Pet.php b/samples/client/petstore/php/psr-18/lib/Model/Pet.php index 4a9ee876ee5b..9852735ffeb0 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/Pet.php +++ b/samples/client/petstore/php/psr-18/lib/Model/Pet.php @@ -310,11 +310,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/PetWithFile.php b/samples/client/petstore/php/psr-18/lib/Model/PetWithFile.php index c6f33ff55ef9..72cf8481e4c8 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/PetWithFile.php +++ b/samples/client/petstore/php/psr-18/lib/Model/PetWithFile.php @@ -324,11 +324,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/PropertyNameMapping.php b/samples/client/petstore/php/psr-18/lib/Model/PropertyNameMapping.php index d3cb87c127cd..63f5bb264a52 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/PropertyNameMapping.php +++ b/samples/client/petstore/php/psr-18/lib/Model/PropertyNameMapping.php @@ -279,11 +279,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/ReadOnlyFirst.php b/samples/client/petstore/php/psr-18/lib/Model/ReadOnlyFirst.php index f2997671985e..dcd054426ec7 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/ReadOnlyFirst.php +++ b/samples/client/petstore/php/psr-18/lib/Model/ReadOnlyFirst.php @@ -265,11 +265,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/SpecialModelName.php b/samples/client/petstore/php/psr-18/lib/Model/SpecialModelName.php index 5ac0c8203569..5a45081bb030 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/SpecialModelName.php +++ b/samples/client/petstore/php/psr-18/lib/Model/SpecialModelName.php @@ -258,11 +258,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/Tag.php b/samples/client/petstore/php/psr-18/lib/Model/Tag.php index 8df80df44698..a60becef0be1 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/Tag.php +++ b/samples/client/petstore/php/psr-18/lib/Model/Tag.php @@ -265,11 +265,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/TestInlineFreeformAdditionalPropertiesRequest.php b/samples/client/petstore/php/psr-18/lib/Model/TestInlineFreeformAdditionalPropertiesRequest.php index f156aa028ed2..da592348cafd 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/TestInlineFreeformAdditionalPropertiesRequest.php +++ b/samples/client/petstore/php/psr-18/lib/Model/TestInlineFreeformAdditionalPropertiesRequest.php @@ -258,11 +258,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/php/psr-18/lib/Model/User.php b/samples/client/petstore/php/psr-18/lib/Model/User.php index 04fdce9b0971..dff4edbc955c 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/User.php +++ b/samples/client/petstore/php/psr-18/lib/Model/User.php @@ -307,11 +307,11 @@ public function __construct(?array $data = null) */ private function setIfExists(string $variableName, array $fields, $defaultValue): void { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; + $apivar = $this->attributeMap()[$variableName]; + if (self::isNullable($variableName) && array_key_exists($apivar, $fields) && is_null($fields[$apivar])) { + $this->openAPINullablesSetToNull[] = $apivar; } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + $this->container[$variableName] = $fields[$apivar] ?? $defaultValue; } /** diff --git a/samples/client/petstore/typescript-jquery/npm/package-lock.json b/samples/client/petstore/typescript-jquery/npm/package-lock.json new file mode 100644 index 000000000000..3501ac299d4d --- /dev/null +++ b/samples/client/petstore/typescript-jquery/npm/package-lock.json @@ -0,0 +1,545 @@ +{ + "name": "@openapitools/jquery-typescript-petstore", + "version": "0.0.1", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "@openapitools/jquery-typescript-petstore", + "version": "0.0.1", + "license": "MIT", + "dependencies": { + "bluebird": "^3.3.5", + "jquery": "^3.1", + "request": "^2.72.0" + }, + "devDependencies": { + "@types/jquery": "^3.1", + "typescript": "^4.0 || ^5.0" + } + }, + "node_modules/@types/jquery": { + "version": "3.5.32", + "resolved": "https://registry.npmjs.org/@types/jquery/-/jquery-3.5.32.tgz", + "integrity": "sha512-b9Xbf4CkMqS02YH8zACqN1xzdxc3cO735Qe5AbSUFmyOiaWAbcpqh9Wna+Uk0vgACvoQHpWDg2rGdHkYPLmCiQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/sizzle": "*" + } + }, + "node_modules/@types/sizzle": { + "version": "2.3.9", + "resolved": "https://registry.npmjs.org/@types/sizzle/-/sizzle-2.3.9.tgz", + "integrity": "sha512-xzLEyKB50yqCUPUJkIsrVvoWNfFUbIZI+RspLWt8u+tIW/BetMBZtgV2LY/2o+tYH8dRvQ+eoPf3NdhQCcLE2w==", + "dev": true, + "license": "MIT" + }, + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/asn1": { + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz", + "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==", + "license": "MIT", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "node_modules/assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw==", + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "license": "MIT" + }, + "node_modules/aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA==", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "node_modules/aws4": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.13.2.tgz", + "integrity": "sha512-lHe62zvbTB5eEABUVi/AwVh0ZKY9rMMDhmm+eeyuuUQbQ3+J+fONVQOZyj+DdrvD4BY33uYniyRJ4UJIaSKAfw==", + "license": "MIT" + }, + "node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w==", + "license": "BSD-3-Clause", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "node_modules/bluebird": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", + "license": "MIT" + }, + "node_modules/caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==", + "license": "Apache-2.0" + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "license": "MIT", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ==", + "license": "MIT" + }, + "node_modules/dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g==", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw==", + "license": "MIT", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "node_modules/extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "license": "MIT" + }, + "node_modules/extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g==", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "license": "MIT" + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "license": "MIT" + }, + "node_modules/forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw==", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "node_modules/form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "node_modules/getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng==", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "node_modules/har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q==", + "license": "ISC", + "engines": { + "node": ">=4" + } + }, + "node_modules/har-validator": { + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", + "deprecated": "this library is no longer supported", + "license": "MIT", + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha512-CAbnr6Rz4CYQkLYUtSNXxQPUH2gK8f3iWexVlsnMeD+GjlsQ0Xsy1cOX+mN3dtxYomRy21CiOzU8Uhw6OwncEQ==", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "node_modules/is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==", + "license": "MIT" + }, + "node_modules/isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g==", + "license": "MIT" + }, + "node_modules/jquery": { + "version": "3.7.1", + "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.7.1.tgz", + "integrity": "sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg==", + "license": "MIT" + }, + "node_modules/jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg==", + "license": "MIT" + }, + "node_modules/json-schema": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", + "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==", + "license": "(AFL-2.1 OR BSD-3-Clause)" + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "license": "MIT" + }, + "node_modules/json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==", + "license": "ISC" + }, + "node_modules/jsprim": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz", + "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==", + "license": "MIT", + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "license": "MIT", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "node_modules/performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==", + "license": "MIT" + }, + "node_modules/psl": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.15.0.tgz", + "integrity": "sha512-JZd3gMVBAVQkSs6HdNZo9Sdo0LNcQeMNP3CozBJb3JYC/QUYZTnKxP+f8oWRX4rHP5EurWxqAHTSwUCjlNKa1w==", + "license": "MIT", + "dependencies": { + "punycode": "^2.3.1" + }, + "funding": { + "url": "https://github.com/sponsors/lupomontero" + } + }, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/qs": { + "version": "6.5.3", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz", + "integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/request": { + "version": "2.88.2", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", + "deprecated": "request has been deprecated, see https://github.com/request/request/issues/3142", + "license": "Apache-2.0", + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "license": "MIT" + }, + "node_modules/sshpk": { + "version": "1.18.0", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.18.0.tgz", + "integrity": "sha512-2p2KJZTSqQ/I3+HX42EpYOa2l3f8Erv8MWKsy2I9uf4wA7yFIkXRffYdsx86y6z4vHtV8u7g+pPlr8/4ouAxsQ==", + "license": "MIT", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/tough-cookie": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.28", + "punycode": "^2.1.1" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "node_modules/tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA==", + "license": "Unlicense" + }, + "node_modules/typescript": { + "version": "5.8.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz", + "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "license": "BSD-2-Clause", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "node_modules/verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw==", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + } + } +} diff --git a/samples/client/petstore/typescript-node/npm/package-lock.json b/samples/client/petstore/typescript-node/npm/package-lock.json new file mode 100644 index 000000000000..57069f1d449d --- /dev/null +++ b/samples/client/petstore/typescript-node/npm/package-lock.json @@ -0,0 +1,773 @@ +{ + "name": "@openapitools/node-typescript-petstore", + "version": "0.0.1", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "@openapitools/node-typescript-petstore", + "version": "0.0.1", + "license": "Unlicense", + "dependencies": { + "bluebird": "^3.7.2", + "request": "^2.88.2" + }, + "devDependencies": { + "@types/bluebird": "^3.5.33", + "@types/node": "^12", + "@types/request": "^2.48.8", + "typescript": "^4.0 || ^5.0" + } + }, + "node_modules/@types/bluebird": { + "version": "3.5.42", + "resolved": "https://registry.npmjs.org/@types/bluebird/-/bluebird-3.5.42.tgz", + "integrity": "sha512-Jhy+MWRlro6UjVi578V/4ZGNfeCOcNCp0YaFNIUGFKlImowqwb1O/22wDVk3FDGMLqxdpOV3qQHD5fPEH4hK6A==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/caseless": { + "version": "0.12.5", + "resolved": "https://registry.npmjs.org/@types/caseless/-/caseless-0.12.5.tgz", + "integrity": "sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/node": { + "version": "12.20.55", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.55.tgz", + "integrity": "sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/request": { + "version": "2.48.12", + "resolved": "https://registry.npmjs.org/@types/request/-/request-2.48.12.tgz", + "integrity": "sha512-G3sY+NpsA9jnwm0ixhAFQSJ3Q9JkpLZpJbI3GMv0mIAT0y3mRabYeINzal5WOChIiaTEGQYlHOKgkaM9EisWHw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/caseless": "*", + "@types/node": "*", + "@types/tough-cookie": "*", + "form-data": "^2.5.0" + } + }, + "node_modules/@types/tough-cookie": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.5.tgz", + "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==", + "dev": true, + "license": "MIT" + }, + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/asn1": { + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz", + "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==", + "license": "MIT", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "node_modules/assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw==", + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "license": "MIT" + }, + "node_modules/aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA==", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "node_modules/aws4": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.13.2.tgz", + "integrity": "sha512-lHe62zvbTB5eEABUVi/AwVh0ZKY9rMMDhmm+eeyuuUQbQ3+J+fONVQOZyj+DdrvD4BY33uYniyRJ4UJIaSKAfw==", + "license": "MIT" + }, + "node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w==", + "license": "BSD-3-Clause", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "node_modules/bluebird": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", + "license": "MIT" + }, + "node_modules/call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==", + "license": "Apache-2.0" + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "license": "MIT", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ==", + "license": "MIT" + }, + "node_modules/dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g==", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw==", + "license": "MIT", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "node_modules/es-define-property": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-object-atoms": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", + "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-set-tostringtag": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", + "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "license": "MIT" + }, + "node_modules/extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g==", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "license": "MIT" + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "license": "MIT" + }, + "node_modules/forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw==", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "node_modules/form-data": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.3.tgz", + "integrity": "sha512-XHIrMD0NpDrNM/Ckf7XJiBbLl57KEhT3+i3yY+eWm+cqYZJQTZrKo8Y8AWKnuV5GT4scfuUGt9LzNoIx3dU1nQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "es-set-tostringtag": "^2.1.0", + "mime-types": "^2.1.35", + "safe-buffer": "^5.2.1" + }, + "engines": { + "node": ">= 0.12" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-intrinsic": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "function-bind": "^1.1.2", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "dev": true, + "license": "MIT", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng==", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "node_modules/gopd": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q==", + "license": "ISC", + "engines": { + "node": ">=4" + } + }, + "node_modules/har-validator": { + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", + "deprecated": "this library is no longer supported", + "license": "MIT", + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/has-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-symbols": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha512-CAbnr6Rz4CYQkLYUtSNXxQPUH2gK8f3iWexVlsnMeD+GjlsQ0Xsy1cOX+mN3dtxYomRy21CiOzU8Uhw6OwncEQ==", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "node_modules/is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==", + "license": "MIT" + }, + "node_modules/isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g==", + "license": "MIT" + }, + "node_modules/jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg==", + "license": "MIT" + }, + "node_modules/json-schema": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", + "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==", + "license": "(AFL-2.1 OR BSD-3-Clause)" + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "license": "MIT" + }, + "node_modules/json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==", + "license": "ISC" + }, + "node_modules/jsprim": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz", + "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==", + "license": "MIT", + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "license": "MIT", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "node_modules/performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==", + "license": "MIT" + }, + "node_modules/psl": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.15.0.tgz", + "integrity": "sha512-JZd3gMVBAVQkSs6HdNZo9Sdo0LNcQeMNP3CozBJb3JYC/QUYZTnKxP+f8oWRX4rHP5EurWxqAHTSwUCjlNKa1w==", + "license": "MIT", + "dependencies": { + "punycode": "^2.3.1" + }, + "funding": { + "url": "https://github.com/sponsors/lupomontero" + } + }, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/qs": { + "version": "6.5.3", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz", + "integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/request": { + "version": "2.88.2", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", + "deprecated": "request has been deprecated, see https://github.com/request/request/issues/3142", + "license": "Apache-2.0", + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/request/node_modules/form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "license": "MIT" + }, + "node_modules/sshpk": { + "version": "1.18.0", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.18.0.tgz", + "integrity": "sha512-2p2KJZTSqQ/I3+HX42EpYOa2l3f8Erv8MWKsy2I9uf4wA7yFIkXRffYdsx86y6z4vHtV8u7g+pPlr8/4ouAxsQ==", + "license": "MIT", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/tough-cookie": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.28", + "punycode": "^2.1.1" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "node_modules/tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA==", + "license": "Unlicense" + }, + "node_modules/typescript": { + "version": "5.8.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz", + "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "license": "BSD-2-Clause", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "node_modules/verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw==", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + } + } +}