diff --git a/README.md b/README.md index 7afb199..cb79667 100644 --- a/README.md +++ b/README.md @@ -168,4 +168,5 @@ support@lodgea.com This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: `1.0.1` + - Package version: `1.0.1` - Build package: `org.openapitools.codegen.languages.PhpClientCodegen` diff --git a/composer.json b/composer.json index a0db216..f69283c 100644 --- a/composer.json +++ b/composer.json @@ -1,4 +1,5 @@ { + "version": "1.0.1", "description": "PHP SDK for LODGEA", "keywords": [ "lodgea", diff --git a/lib/Configuration.php b/lib/Configuration.php index d9ab36a..9bf7359 100644 --- a/lib/Configuration.php +++ b/lib/Configuration.php @@ -101,7 +101,7 @@ class Configuration * * @var string */ - protected $userAgent = 'OpenAPI-Generator/1.0.0/PHP'; + protected $userAgent = 'OpenAPI-Generator/1.0.1/PHP'; /** * Debug switch (default set to false) @@ -434,6 +434,7 @@ public static function toDebugReport() $report .= ' OS: ' . php_uname() . PHP_EOL; $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; $report .= ' The version of the OpenAPI document: 1.0.1' . PHP_EOL; + $report .= ' SDK Package Version: 1.0.1' . PHP_EOL; $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; return $report;