Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.17.0
7.18.0
5 changes: 1 addition & 4 deletions src/Api/PublicApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* The version of the OpenAPI document: 1.0.0
* @generated Generated by: https://openapi-generator.tech
* Generator version: 7.17.0
* Generator version: 7.18.0
*/

/**
Expand Down Expand Up @@ -387,7 +387,6 @@ public function checkStatusRequest(
}
}


$defaultHeaders = [];
if ($this->config->getUserAgent()) {
$defaultHeaders['User-Agent'] = $this->config->getUserAgent();
Expand Down Expand Up @@ -689,7 +688,6 @@ public function checkVatNumberRequest(
}
}


$defaultHeaders = [];
if ($this->config->getUserAgent()) {
$defaultHeaders['User-Agent'] = $this->config->getUserAgent();
Expand Down Expand Up @@ -991,7 +989,6 @@ public function checkVatTestServiceRequest(
}
}


$defaultHeaders = [];
if ($this->config->getUserAgent()) {
$defaultHeaders['User-Agent'] = $this->config->getUserAgent();
Expand Down
2 changes: 1 addition & 1 deletion src/ApiException.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* The version of the OpenAPI document: 1.0.0
* @generated Generated by: https://openapi-generator.tech
* Generator version: 7.17.0
* Generator version: 7.18.0
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* The version of the OpenAPI document: 1.0.0
* @generated Generated by: https://openapi-generator.tech
* Generator version: 7.17.0
* Generator version: 7.18.0
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/FormDataProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* The version of the OpenAPI document: 1.0.0
* @generated Generated by: https://openapi-generator.tech
* Generator version: 7.17.0
* Generator version: 7.18.0
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/HeaderSelector.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* The version of the OpenAPI document: 1.0.0
* @generated Generated by: https://openapi-generator.tech
* Generator version: 7.17.0
* Generator version: 7.18.0
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Model/CheckVatRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* The version of the OpenAPI document: 1.0.0
* @generated Generated by: https://openapi-generator.tech
* Generator version: 7.17.0
* Generator version: 7.18.0
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Model/CheckVatResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* The version of the OpenAPI document: 1.0.0
* @generated Generated by: https://openapi-generator.tech
* Generator version: 7.17.0
* Generator version: 7.18.0
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Model/CommonResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* The version of the OpenAPI document: 1.0.0
* @generated Generated by: https://openapi-generator.tech
* Generator version: 7.17.0
* Generator version: 7.18.0
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Model/CountryStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* The version of the OpenAPI document: 1.0.0
* @generated Generated by: https://openapi-generator.tech
* Generator version: 7.17.0
* Generator version: 7.18.0
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Model/ErrorWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* The version of the OpenAPI document: 1.0.0
* @generated Generated by: https://openapi-generator.tech
* Generator version: 7.17.0
* Generator version: 7.18.0
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Model/ModelInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* The version of the OpenAPI document: 1.0.0
* @generated Generated by: https://openapi-generator.tech
* Generator version: 7.17.0
* Generator version: 7.18.0
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Status.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* The version of the OpenAPI document: 1.0.0
* @generated Generated by: https://openapi-generator.tech
* Generator version: 7.17.0
* Generator version: 7.18.0
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Model/StatusInformationResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* The version of the OpenAPI document: 1.0.0
* @generated Generated by: https://openapi-generator.tech
* Generator version: 7.17.0
* Generator version: 7.18.0
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Model/StatusInformationResponseVow.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* The version of the OpenAPI document: 1.0.0
* @generated Generated by: https://openapi-generator.tech
* Generator version: 7.17.0
* Generator version: 7.18.0
*/

/**
Expand Down
8 changes: 7 additions & 1 deletion src/ObjectSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* The version of the OpenAPI document: 1.0.0
* @generated Generated by: https://openapi-generator.tech
* Generator version: 7.17.0
* Generator version: 7.18.0
*/

/**
Expand All @@ -28,6 +28,7 @@

namespace Cone\Vies;

use BackedEnum;
use DateTimeInterface;
use DateTime;
use GuzzleHttp\Psr7\Utils;
Expand Down Expand Up @@ -264,6 +265,11 @@ public static function toQueryValue(
// push key itself
$result[] = $prop;
}

if ($v instanceof BackedEnum) {
$v = $v->value;
}

$result[$prop] = $v;
}
}
Expand Down