diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index 971ecb2..6328c54 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.16.0 +7.17.0 diff --git a/docs/Api/AuthApi.md b/docs/Api/AuthApi.md index 8d2af65..4f73d24 100644 --- a/docs/Api/AuthApi.md +++ b/docs/Api/AuthApi.md @@ -1,5 +1,7 @@ # Gopad\AuthApi + + All URIs are relative to https://try.gopad.eu/api/v1, except if the operation defines another base path. | Method | HTTP request | Description | diff --git a/docs/Api/GroupApi.md b/docs/Api/GroupApi.md index a04b000..0614060 100644 --- a/docs/Api/GroupApi.md +++ b/docs/Api/GroupApi.md @@ -1,5 +1,7 @@ # Gopad\GroupApi + + All URIs are relative to https://try.gopad.eu/api/v1, except if the operation defines another base path. | Method | HTTP request | Description | diff --git a/docs/Api/ProfileApi.md b/docs/Api/ProfileApi.md index 1cb0037..ad3facc 100644 --- a/docs/Api/ProfileApi.md +++ b/docs/Api/ProfileApi.md @@ -1,5 +1,7 @@ # Gopad\ProfileApi + + All URIs are relative to https://try.gopad.eu/api/v1, except if the operation defines another base path. | Method | HTTP request | Description | diff --git a/docs/Api/UserApi.md b/docs/Api/UserApi.md index c7f431c..174dda0 100644 --- a/docs/Api/UserApi.md +++ b/docs/Api/UserApi.md @@ -1,5 +1,7 @@ # Gopad\UserApi + + All URIs are relative to https://try.gopad.eu/api/v1, except if the operation defines another base path. | Method | HTTP request | Description | diff --git a/lib/Api/AuthApi.php b/lib/Api/AuthApi.php index 4853a97..e4858cd 100644 --- a/lib/Api/AuthApi.php +++ b/lib/Api/AuthApi.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** @@ -2126,6 +2126,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/Api/GroupApi.php b/lib/Api/GroupApi.php index 6e6c098..4fb0f4b 100644 --- a/lib/Api/GroupApi.php +++ b/lib/Api/GroupApi.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** @@ -3432,6 +3432,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/Api/ProfileApi.php b/lib/Api/ProfileApi.php index 0d9997a..1da116b 100644 --- a/lib/Api/ProfileApi.php +++ b/lib/Api/ProfileApi.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** @@ -1062,6 +1062,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/Api/UserApi.php b/lib/Api/UserApi.php index 1c00d01..dd89009 100644 --- a/lib/Api/UserApi.php +++ b/lib/Api/UserApi.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** @@ -3432,6 +3432,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/ApiException.php b/lib/ApiException.php index be651c4..1337a0e 100644 --- a/lib/ApiException.php +++ b/lib/ApiException.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** diff --git a/lib/Configuration.php b/lib/Configuration.php index bf68522..7ee2fc0 100644 --- a/lib/Configuration.php +++ b/lib/Configuration.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** @@ -124,6 +124,20 @@ class Configuration */ protected $tempFolderPath; + /** + * Path to a certificate file, for mTLS + * + * @var string + */ + protected $certFile; + + /** + * Path to a key file, for mTLS + * + * @var string + */ + protected $keyFile; + /** * Constructor */ @@ -397,6 +411,49 @@ public function getTempFolderPath() return $this->tempFolderPath; } + /** + * Sets the certificate file path, for mTLS + * + * @return $this + */ + public function setCertFile($certFile) + { + $this->certFile = $certFile; + return $this; + } + + /** + * Gets the certificate file path, for mTLS + * + * @return string Certificate file path + */ + public function getCertFile() + { + return $this->certFile; + } + + /** + * Sets the certificate key path, for mTLS + * + * @return $this + */ + public function setKeyFile($keyFile) + { + $this->keyFile = $keyFile; + return $this; + } + + /** + * Gets the certificate key path, for mTLS + * + * @return string Certificate key path + */ + public function getKeyFile() + { + return $this->keyFile; + } + + /** * Gets the default configuration instance * diff --git a/lib/FormDataProcessor.php b/lib/FormDataProcessor.php index 9bcdc96..a1ff6c4 100644 --- a/lib/FormDataProcessor.php +++ b/lib/FormDataProcessor.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** diff --git a/lib/HeaderSelector.php b/lib/HeaderSelector.php index 94d5303..b4c88df 100644 --- a/lib/HeaderSelector.php +++ b/lib/HeaderSelector.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** diff --git a/lib/Model/AuthToken.php b/lib/Model/AuthToken.php index eb25713..c204382 100644 --- a/lib/Model/AuthToken.php +++ b/lib/Model/AuthToken.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** diff --git a/lib/Model/AuthVerify.php b/lib/Model/AuthVerify.php index e995a6a..73d896b 100644 --- a/lib/Model/AuthVerify.php +++ b/lib/Model/AuthVerify.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** diff --git a/lib/Model/CreateGroupRequest.php b/lib/Model/CreateGroupRequest.php index dc86afe..43fc5fb 100644 --- a/lib/Model/CreateGroupRequest.php +++ b/lib/Model/CreateGroupRequest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** diff --git a/lib/Model/CreateUserRequest.php b/lib/Model/CreateUserRequest.php index 27d731d..8abdbdd 100644 --- a/lib/Model/CreateUserRequest.php +++ b/lib/Model/CreateUserRequest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** diff --git a/lib/Model/DeleteGroupFromUserRequest.php b/lib/Model/DeleteGroupFromUserRequest.php index 5352cfe..a729ed1 100644 --- a/lib/Model/DeleteGroupFromUserRequest.php +++ b/lib/Model/DeleteGroupFromUserRequest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** diff --git a/lib/Model/DeleteUserFromGroupRequest.php b/lib/Model/DeleteUserFromGroupRequest.php index 1c11381..17da158 100644 --- a/lib/Model/DeleteUserFromGroupRequest.php +++ b/lib/Model/DeleteUserFromGroupRequest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** diff --git a/lib/Model/Group.php b/lib/Model/Group.php index c3a679b..ed00c5e 100644 --- a/lib/Model/Group.php +++ b/lib/Model/Group.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** diff --git a/lib/Model/ListGroupUsers200Response.php b/lib/Model/ListGroupUsers200Response.php index 3343fd9..3ddb74e 100644 --- a/lib/Model/ListGroupUsers200Response.php +++ b/lib/Model/ListGroupUsers200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** diff --git a/lib/Model/ListGroups200Response.php b/lib/Model/ListGroups200Response.php index 9702b55..2990033 100644 --- a/lib/Model/ListGroups200Response.php +++ b/lib/Model/ListGroups200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** diff --git a/lib/Model/ListProviders200Response.php b/lib/Model/ListProviders200Response.php index b0deee9..ee68654 100644 --- a/lib/Model/ListProviders200Response.php +++ b/lib/Model/ListProviders200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** diff --git a/lib/Model/ListUserGroups200Response.php b/lib/Model/ListUserGroups200Response.php index 0f9b806..367a8df 100644 --- a/lib/Model/ListUserGroups200Response.php +++ b/lib/Model/ListUserGroups200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** diff --git a/lib/Model/ListUsers200Response.php b/lib/Model/ListUsers200Response.php index 31c1b24..56cb122 100644 --- a/lib/Model/ListUsers200Response.php +++ b/lib/Model/ListUsers200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** diff --git a/lib/Model/LoginAuthRequest.php b/lib/Model/LoginAuthRequest.php index b188b0c..37e16f6 100644 --- a/lib/Model/LoginAuthRequest.php +++ b/lib/Model/LoginAuthRequest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** diff --git a/lib/Model/ModelInterface.php b/lib/Model/ModelInterface.php index e64535f..73f2c44 100644 --- a/lib/Model/ModelInterface.php +++ b/lib/Model/ModelInterface.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** diff --git a/lib/Model/Notification.php b/lib/Model/Notification.php index 9dfbdd3..032b304 100644 --- a/lib/Model/Notification.php +++ b/lib/Model/Notification.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** diff --git a/lib/Model/PermitGroupUserRequest.php b/lib/Model/PermitGroupUserRequest.php index d6cd371..d6b44aa 100644 --- a/lib/Model/PermitGroupUserRequest.php +++ b/lib/Model/PermitGroupUserRequest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** diff --git a/lib/Model/PermitUserGroupRequest.php b/lib/Model/PermitUserGroupRequest.php index 96ad2c6..0c11711 100644 --- a/lib/Model/PermitUserGroupRequest.php +++ b/lib/Model/PermitUserGroupRequest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** diff --git a/lib/Model/Profile.php b/lib/Model/Profile.php index 9c7057a..1b3edf3 100644 --- a/lib/Model/Profile.php +++ b/lib/Model/Profile.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** diff --git a/lib/Model/Provider.php b/lib/Model/Provider.php index 509e72a..832a611 100644 --- a/lib/Model/Provider.php +++ b/lib/Model/Provider.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** diff --git a/lib/Model/RedirectAuthRequest.php b/lib/Model/RedirectAuthRequest.php index 6620d92..161fc99 100644 --- a/lib/Model/RedirectAuthRequest.php +++ b/lib/Model/RedirectAuthRequest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** diff --git a/lib/Model/UpdateProfileRequest.php b/lib/Model/UpdateProfileRequest.php index ea2e243..0433c55 100644 --- a/lib/Model/UpdateProfileRequest.php +++ b/lib/Model/UpdateProfileRequest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** diff --git a/lib/Model/UpdateUserRequest.php b/lib/Model/UpdateUserRequest.php index 261e1d1..b1a3b0e 100644 --- a/lib/Model/UpdateUserRequest.php +++ b/lib/Model/UpdateUserRequest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** diff --git a/lib/Model/User.php b/lib/Model/User.php index 93943d5..5912a0e 100644 --- a/lib/Model/User.php +++ b/lib/Model/User.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** diff --git a/lib/Model/UserAuth.php b/lib/Model/UserAuth.php index 8289a14..0103e5b 100644 --- a/lib/Model/UserAuth.php +++ b/lib/Model/UserAuth.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** diff --git a/lib/Model/UserGroup.php b/lib/Model/UserGroup.php index c9aa19d..6606bb7 100644 --- a/lib/Model/UserGroup.php +++ b/lib/Model/UserGroup.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** diff --git a/lib/Model/Validation.php b/lib/Model/Validation.php index 4f3c389..e7c4470 100644 --- a/lib/Model/Validation.php +++ b/lib/Model/Validation.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** diff --git a/lib/ObjectSerializer.php b/lib/ObjectSerializer.php index 6e61a8d..6b4f41a 100644 --- a/lib/ObjectSerializer.php +++ b/lib/ObjectSerializer.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.0.0-alpha1 * Contact: gopad@webhippie.de * Generated by: https://openapi-generator.tech - * Generator version: 7.16.0 + * Generator version: 7.17.0 */ /** @@ -595,6 +595,6 @@ public static function buildQuery(array $params, $encoding = PHP_QUERY_RFC3986): } } - return $qs ? (string) substr($qs, 0, -1) : ''; + return $qs ? substr($qs, 0, -1) : ''; } }