diff --git a/LICENSE b/LICENSE index 5a1b424..ef7ea60 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2022 Dropbox, Inc. +Copyright (c) 2024 dropbox.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 39ab406..9bd512c 100644 --- a/README.md +++ b/README.md @@ -429,6 +429,6 @@ apisupport@hellosign.com This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: `3.0.0` - - Package version: `1.6.0` + - Package version: `1.6.1` - Generator version: `7.8.0` - Build package: `org.openapitools.codegen.languages.PhpClientCodegen` diff --git a/VERSION b/VERSION index dc1e644..9c6d629 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.6.0 +1.6.1 diff --git a/openapi-config.yaml b/openapi-config.yaml index 1ae5c98..6ebb3f5 100644 --- a/openapi-config.yaml +++ b/openapi-config.yaml @@ -4,7 +4,7 @@ typeMappings: additionalProperties: packageName: dropbox/sign packageVersion: "^1.3.0" - artifactVersion: 1.6.0 + artifactVersion: 1.6.1 invokerPackage: "Dropbox\\Sign" sortModelPropertiesByRequiredFlag: true srcBasePath: src @@ -16,11 +16,15 @@ additionalProperties: developerOrganizationUrl: "https://hellosign.com" developerOrganizationEmail: "apisupport@hellosign.com" useCustomTemplateCode: true + licenseCopyrightYear: 2024 files: - EventCallbackHelper.mustache: + dropbox-EventCallbackHelper.mustache: templateType: SupportingFiles destinationFilename: src/EventCallbackHelper.php - VERSION.mustache: + dropbox-LICENSE.mustache: + templateType: SupportingFiles + destinationFilename: LICENSE + dropbox-VERSION.mustache: templateType: SupportingFiles destinationFilename: VERSION globalProperties: diff --git a/src/Configuration.php b/src/Configuration.php index 1eaabe6..ac2fcbe 100644 --- a/src/Configuration.php +++ b/src/Configuration.php @@ -97,7 +97,7 @@ class Configuration * * @var string */ - protected $userAgent = 'OpenAPI-Generator/1.6.0/PHP'; + protected $userAgent = 'OpenAPI-Generator/1.6.1/PHP'; /** * Debug switch (default set to false) @@ -438,7 +438,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: 3.0.0' . PHP_EOL; - $report .= ' SDK Package Version: 1.6.0' . PHP_EOL; + $report .= ' SDK Package Version: 1.6.1' . PHP_EOL; $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; return $report; diff --git a/templates/EventCallbackHelper.mustache b/templates/dropbox-EventCallbackHelper.mustache similarity index 100% rename from templates/EventCallbackHelper.mustache rename to templates/dropbox-EventCallbackHelper.mustache diff --git a/templates/dropbox-LICENSE.mustache b/templates/dropbox-LICENSE.mustache new file mode 100644 index 0000000..22039a6 --- /dev/null +++ b/templates/dropbox-LICENSE.mustache @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) {{licenseCopyrightYear}} dropbox.com + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/templates/VERSION.mustache b/templates/dropbox-VERSION.mustache similarity index 100% rename from templates/VERSION.mustache rename to templates/dropbox-VERSION.mustache