From 1e885cc243eefc74942e947d21509f2cfb96a3fb Mon Sep 17 00:00:00 2001 From: Sebastian Stehle Date: Tue, 20 Aug 2024 08:06:04 +0200 Subject: [PATCH] Cleanup. --- composer.json | 16 +- lib/Api/AppsApi.php | 2 +- lib/Api/AssetsApi.php | 2 +- lib/Api/BackupsApi.php | 2 +- lib/Api/ContentsApi.php | 2 +- lib/Api/DiagnosticsApi.php | 2 +- lib/Api/EventConsumersApi.php | 2 +- lib/Api/HistoryApi.php | 2 +- lib/Api/JobsApi.php | 2 +- lib/Api/LanguagesApi.php | 2 +- lib/Api/NewsApi.php | 2 +- lib/Api/PingApi.php | 2 +- lib/Api/PlansApi.php | 2 +- lib/Api/RulesApi.php | 2 +- lib/Api/SchemasApi.php | 2 +- lib/Api/SearchApi.php | 2 +- lib/Api/StatisticsApi.php | 2 +- lib/Api/TeamsApi.php | 2 +- lib/Api/TemplatesApi.php | 2 +- lib/Api/TranslationsApi.php | 2 +- lib/Api/UserManagementApi.php | 2 +- lib/Api/UsersApi.php | 2 +- lib/ApiException.php | 8 +- lib/Configuration.php | 250 ++++---- lib/HeaderSelector.php | 2 +- lib/Model/ActionTypeEnum.php | 2 +- lib/Model/AddFieldDto.php | 2 +- lib/Model/AddLanguageDto.php | 2 +- lib/Model/AddRoleDto.php | 2 +- lib/Model/AddWorkflowDto.php | 2 +- lib/Model/AlgoliaRuleActionDto.php | 2 +- lib/Model/AllContentsByPostDto.php | 2 +- lib/Model/AnnotateAssetDto.php | 2 +- lib/Model/AppDto.php | 2 +- lib/Model/AppLanguageDto.php | 2 +- lib/Model/AppLanguagesDto.php | 2 +- lib/Model/AppSettingsDto.php | 2 +- lib/Model/ArrayCalculatedDefaultValue.php | 2 +- lib/Model/ArrayFieldPropertiesDto.php | 2 +- lib/Model/AssetChangedRuleTriggerDto.php | 2 +- lib/Model/AssetDto.php | 2 +- lib/Model/AssetFolderDto.php | 2 +- lib/Model/AssetFolderScope.php | 2 +- lib/Model/AssetFoldersDto.php | 2 +- lib/Model/AssetMeta.php | 2 +- lib/Model/AssetPreviewMode.php | 2 +- lib/Model/AssetScriptsDto.php | 2 +- lib/Model/AssetType.php | 2 +- lib/Model/AssetsDto.php | 2 +- lib/Model/AssetsFieldPropertiesDto.php | 2 +- lib/Model/AssignContributorDto.php | 2 +- lib/Model/AuthSchemeDto.php | 2 +- lib/Model/AuthSchemeResponseDto.php | 2 +- lib/Model/AuthSchemeValueDto.php | 2 +- lib/Model/AzureQueueRuleActionDto.php | 2 +- lib/Model/BackupJobDto.php | 2 +- lib/Model/BackupJobsDto.php | 2 +- lib/Model/BooleanFieldEditor.php | 2 +- lib/Model/BooleanFieldPropertiesDto.php | 2 +- lib/Model/BulkResultDto.php | 2 +- lib/Model/BulkUpdateAssetType.php | 2 +- lib/Model/BulkUpdateAssetsDto.php | 2 +- lib/Model/BulkUpdateAssetsJobDto.php | 2 +- lib/Model/BulkUpdateContentType.php | 2 +- lib/Model/BulkUpdateContentsDto.php | 2 +- lib/Model/BulkUpdateContentsJobDto.php | 2 +- lib/Model/CallsUsageDtoDto.php | 2 +- lib/Model/CallsUsagePerDateDto.php | 2 +- lib/Model/ChangeCategoryDto.php | 2 +- lib/Model/ChangePlanDto.php | 2 +- lib/Model/ChangeStatusDto.php | 2 +- lib/Model/ClientDto.php | 2 +- lib/Model/ClientsDto.php | 2 +- lib/Model/CommentRuleActionDto.php | 2 +- lib/Model/CommentRuleTriggerDto.php | 2 +- lib/Model/ComponentFieldPropertiesDto.php | 2 +- lib/Model/ComponentsFieldPropertiesDto.php | 2 +- lib/Model/ConfigureFieldRulesDto.php | 2 +- lib/Model/ConfigureUIFieldsDto.php | 2 +- lib/Model/ContentChangedRuleTriggerDto.php | 2 +- lib/Model/ContentDto.php | 2 +- lib/Model/ContentsDto.php | 2 +- lib/Model/ContributorDto.php | 2 +- lib/Model/ContributorsDto.php | 2 +- lib/Model/ContributorsMetadata.php | 2 +- lib/Model/CreateAppDto.php | 2 +- lib/Model/CreateAssetFolderDto.php | 2 +- lib/Model/CreateClientDto.php | 2 +- lib/Model/CreateContentRuleActionDto.php | 2 +- lib/Model/CreateRuleDto.php | 2 +- lib/Model/CreateSchemaDto.php | 2 +- lib/Model/CreateTeamDto.php | 2 +- lib/Model/CreateUserDto.php | 2 +- lib/Model/CurrentStorageDto.php | 2 +- lib/Model/DateTimeCalculatedDefaultValue.php | 2 +- lib/Model/DateTimeFieldEditor.php | 2 +- lib/Model/DateTimeFieldPropertiesDto.php | 2 +- lib/Model/DiscourseRuleActionDto.php | 2 +- lib/Model/EditorDto.php | 2 +- lib/Model/ElasticSearchRuleActionDto.php | 2 +- lib/Model/EmailRuleActionDto.php | 2 +- lib/Model/ErrorDto.php | 2 +- lib/Model/EventConsumerDto.php | 2 +- lib/Model/EventConsumersDto.php | 2 +- lib/Model/FastlyRuleActionDto.php | 2 +- lib/Model/FeatureDto.php | 2 +- lib/Model/FeaturesDto.php | 2 +- lib/Model/FieldDto.php | 2 +- lib/Model/FieldPropertiesDto.php | 2 +- lib/Model/FieldRuleAction.php | 2 +- lib/Model/FieldRuleDto.php | 2 +- lib/Model/GeolocationFieldEditor.php | 2 +- lib/Model/GeolocationFieldPropertiesDto.php | 2 +- lib/Model/HistoryEventDto.php | 2 +- lib/Model/ImageFormat.php | 2 +- lib/Model/ImportContentsDto.php | 2 +- lib/Model/JobDto.php | 2 +- lib/Model/JobLogMessageDto.php | 2 +- lib/Model/JobStatus.php | 2 +- lib/Model/JobsDto.php | 2 +- lib/Model/JsonFieldPropertiesDto.php | 2 +- lib/Model/LanguageDto.php | 2 +- lib/Model/LogDownloadDto.php | 2 +- lib/Model/ManualRuleTriggerDto.php | 2 +- lib/Model/MediumRuleActionDto.php | 2 +- lib/Model/ModelInterface.php | 2 +- lib/Model/MoveAssetDto.php | 2 +- lib/Model/MoveAssetFolderDto.php | 2 +- lib/Model/NestedFieldDto.php | 2 +- lib/Model/NotificationRuleActionDto.php | 2 +- lib/Model/NumberFieldEditor.php | 2 +- lib/Model/NumberFieldPropertiesDto.php | 2 +- lib/Model/OpenSearchRuleActionDto.php | 2 +- lib/Model/PatternDto.php | 2 +- lib/Model/PlanChangedDto.php | 2 +- lib/Model/PlanDto.php | 2 +- lib/Model/PlansDto.php | 2 +- lib/Model/PlansLockedReason.php | 2 +- lib/Model/PrerenderRuleActionDto.php | 2 +- lib/Model/QueryDto.php | 2 +- lib/Model/QueryJsonDto.php | 2 +- lib/Model/ReferencesFieldEditor.php | 2 +- lib/Model/ReferencesFieldPropertiesDto.php | 2 +- lib/Model/ReferralInfo.php | 2 +- lib/Model/RenameAssetFolderDto.php | 2 +- lib/Model/RenameTagDto.php | 2 +- lib/Model/ReorderFieldsDto.php | 2 +- lib/Model/ResizeMode.php | 2 +- lib/Model/Resource.php | 2 +- lib/Model/ResourceLink.php | 2 +- lib/Model/ResourcesDto.php | 2 +- lib/Model/RestoreJobDto.php | 2 +- lib/Model/RestoreRequestDto.php | 2 +- lib/Model/RichTextFieldPropertiesDto.php | 2 +- lib/Model/RoleDto.php | 2 +- lib/Model/RolesDto.php | 2 +- lib/Model/RuleActionDto.php | 2 +- lib/Model/RuleDto.php | 2 +- lib/Model/RuleElementDto.php | 2 +- lib/Model/RuleElementPropertyDto.php | 2 +- lib/Model/RuleEventDto.php | 2 +- lib/Model/RuleEventsDto.php | 2 +- lib/Model/RuleFieldEditor.php | 2 +- lib/Model/RuleJobResult.php | 2 +- lib/Model/RuleResult.php | 2 +- lib/Model/RuleTriggerDto.php | 2 +- lib/Model/RulesDto.php | 2 +- lib/Model/ScheduleJobDto.php | 2 +- lib/Model/SchemaChangedRuleTriggerDto.php | 2 +- lib/Model/SchemaCondition.php | 2 +- lib/Model/SchemaDto.php | 2 +- lib/Model/SchemaPropertiesDto.php | 2 +- lib/Model/SchemaScriptsDto.php | 2 +- lib/Model/SchemaType.php | 2 +- lib/Model/SchemasDto.php | 2 +- lib/Model/ScriptRuleActionDto.php | 2 +- lib/Model/SearchResultDto.php | 2 +- lib/Model/SearchResultType.php | 2 +- lib/Model/SignalRRuleActionDto.php | 2 +- lib/Model/SimulatedRuleEventDto.php | 2 +- lib/Model/SimulatedRuleEventsDto.php | 2 +- lib/Model/SkipReason.php | 2 +- lib/Model/SlackRuleActionDto.php | 2 +- lib/Model/SortNode.php | 2 +- lib/Model/SortOrder.php | 2 +- lib/Model/StatusInfoDto.php | 2 +- lib/Model/StorageUsagePerDateDto.php | 2 +- lib/Model/StringContentType.php | 2 +- lib/Model/StringFieldEditor.php | 2 +- lib/Model/StringFieldPropertiesDto.php | 2 +- lib/Model/SynchronizeSchemaDto.php | 2 +- lib/Model/TagsFieldEditor.php | 2 +- lib/Model/TagsFieldPropertiesDto.php | 2 +- lib/Model/TeamDto.php | 2 +- lib/Model/TemplateDetailsDto.php | 2 +- lib/Model/TemplateDto.php | 2 +- lib/Model/TemplatesDto.php | 2 +- lib/Model/TransferToTeamDto.php | 2 +- lib/Model/TranslateDto.php | 2 +- lib/Model/TranslationDto.php | 2 +- lib/Model/TranslationStatus.php | 2 +- lib/Model/TweetRuleActionDto.php | 2 +- lib/Model/TypesenseRuleActionDto.php | 2 +- lib/Model/UIFieldEditor.php | 2 +- lib/Model/UIFieldPropertiesDto.php | 2 +- lib/Model/UpdateAppDto.php | 2 +- lib/Model/UpdateAppSettingsDto.php | 2 +- lib/Model/UpdateAssetScriptsDto.php | 2 +- lib/Model/UpdateClientDto.php | 2 +- lib/Model/UpdateFieldDto.php | 2 +- lib/Model/UpdateLanguageDto.php | 2 +- lib/Model/UpdateProfileDto.php | 2 +- lib/Model/UpdateRoleDto.php | 2 +- lib/Model/UpdateRuleDto.php | 2 +- lib/Model/UpdateSchemaDto.php | 2 +- lib/Model/UpdateSettingDto.php | 2 +- lib/Model/UpdateTeamDto.php | 2 +- lib/Model/UpdateUserDto.php | 2 +- lib/Model/UpdateWorkflowDto.php | 2 +- lib/Model/UpsertSchemaDto.php | 2 +- lib/Model/UpsertSchemaFieldDto.php | 2 +- lib/Model/UpsertSchemaNestedFieldDto.php | 2 +- lib/Model/UsageRuleTriggerDto.php | 2 +- lib/Model/UserDto.php | 2 +- lib/Model/UserProperty.php | 2 +- lib/Model/UsersDto.php | 2 +- lib/Model/WebhookMethod.php | 2 +- lib/Model/WebhookRuleActionDto.php | 2 +- lib/Model/WorkflowDto.php | 2 +- lib/Model/WorkflowStepDto.php | 2 +- lib/Model/WorkflowTransitionDto.php | 2 +- lib/Model/WorkflowsDto.php | 2 +- lib/ObjectSerializer.php | 103 +++- phpunit.xml.dist | 12 +- templates/ApiException.mustache | 110 ---- templates/Configuration.mustache | 594 ------------------- templates/HeaderSelector.mustache | 236 -------- templates/ModelInterface.mustache | 102 ---- templates/ObjectSerializer.mustache | 565 ------------------ templates/README.mustache | 150 ----- templates/api_doc.mustache | 104 ---- templates/api_test.mustache | 79 --- templates/composer.mustache | 46 -- templates/git_push.sh.mustache | 57 -- templates/model.mustache | 46 -- templates/model_doc.mustache | 10 - templates/model_enum.mustache | 28 - templates/model_test.mustache | 87 --- templates/partial_header.mustache | 18 - templates/php_doc_auth_partial.mustache | 23 - templates/phpunit.xml.mustache | 12 - 251 files changed, 422 insertions(+), 2692 deletions(-) delete mode 100644 templates/ApiException.mustache delete mode 100644 templates/Configuration.mustache delete mode 100644 templates/HeaderSelector.mustache delete mode 100644 templates/ModelInterface.mustache delete mode 100644 templates/ObjectSerializer.mustache delete mode 100644 templates/README.mustache delete mode 100644 templates/api_doc.mustache delete mode 100644 templates/api_test.mustache delete mode 100644 templates/composer.mustache delete mode 100644 templates/git_push.sh.mustache delete mode 100644 templates/model.mustache delete mode 100644 templates/model_doc.mustache delete mode 100644 templates/model_enum.mustache delete mode 100644 templates/model_test.mustache delete mode 100644 templates/partial_header.mustache delete mode 100644 templates/php_doc_auth_partial.mustache delete mode 100644 templates/phpunit.xml.mustache diff --git a/composer.json b/composer.json index 4d8ef98..e4bbb29 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "squidex/squidex", - "description": "Client SDK for Squidex Headless CMS", + "description": "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)", "keywords": [ "openapitools", "openapi-generator", @@ -8,16 +8,14 @@ "php", "sdk", "rest", - "api", - "headless", - "headless-cms" + "api" ], - "homepage": "https://github.com/squidex/sdk-php", - "license": "MIT", + "homepage": "https://openapi-generator.tech", + "license": "unlicense", "authors": [ { - "name": "Squidex UG (haftungsbeschränkt)", - "homepage": "https://squidex.io" + "name": "OpenAPI", + "homepage": "https://openapi-generator.tech" } ], "require": { @@ -36,6 +34,6 @@ "psr-4": { "Squidex\\Client\\" : "lib/" } }, "autoload-dev": { - "psr-4": { "Squidex\\Client\\Test\\" : "tests/" } + "psr-4": { "Squidex\\Client\\Test\\" : "test/" } } } diff --git a/lib/Api/AppsApi.php b/lib/Api/AppsApi.php index 9ff3299..1cf9992 100644 --- a/lib/Api/AppsApi.php +++ b/lib/Api/AppsApi.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Api/AssetsApi.php b/lib/Api/AssetsApi.php index a4371dd..20964f7 100644 --- a/lib/Api/AssetsApi.php +++ b/lib/Api/AssetsApi.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Api/BackupsApi.php b/lib/Api/BackupsApi.php index 4717c57..1ac550e 100644 --- a/lib/Api/BackupsApi.php +++ b/lib/Api/BackupsApi.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Api/ContentsApi.php b/lib/Api/ContentsApi.php index e1e78bd..3e8607d 100644 --- a/lib/Api/ContentsApi.php +++ b/lib/Api/ContentsApi.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Api/DiagnosticsApi.php b/lib/Api/DiagnosticsApi.php index d24363b..2f9eabf 100644 --- a/lib/Api/DiagnosticsApi.php +++ b/lib/Api/DiagnosticsApi.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Api/EventConsumersApi.php b/lib/Api/EventConsumersApi.php index ee7697d..576317c 100644 --- a/lib/Api/EventConsumersApi.php +++ b/lib/Api/EventConsumersApi.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Api/HistoryApi.php b/lib/Api/HistoryApi.php index daef8dd..9a27e22 100644 --- a/lib/Api/HistoryApi.php +++ b/lib/Api/HistoryApi.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Api/JobsApi.php b/lib/Api/JobsApi.php index d2f8903..dced211 100644 --- a/lib/Api/JobsApi.php +++ b/lib/Api/JobsApi.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Api/LanguagesApi.php b/lib/Api/LanguagesApi.php index 0ba77ac..b8a036c 100644 --- a/lib/Api/LanguagesApi.php +++ b/lib/Api/LanguagesApi.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Api/NewsApi.php b/lib/Api/NewsApi.php index b565e06..33aa87d 100644 --- a/lib/Api/NewsApi.php +++ b/lib/Api/NewsApi.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Api/PingApi.php b/lib/Api/PingApi.php index f276759..90059dd 100644 --- a/lib/Api/PingApi.php +++ b/lib/Api/PingApi.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Api/PlansApi.php b/lib/Api/PlansApi.php index 4559d03..a83bad6 100644 --- a/lib/Api/PlansApi.php +++ b/lib/Api/PlansApi.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Api/RulesApi.php b/lib/Api/RulesApi.php index cb06105..f9d4c57 100644 --- a/lib/Api/RulesApi.php +++ b/lib/Api/RulesApi.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Api/SchemasApi.php b/lib/Api/SchemasApi.php index ede77b1..1ac87c2 100644 --- a/lib/Api/SchemasApi.php +++ b/lib/Api/SchemasApi.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Api/SearchApi.php b/lib/Api/SearchApi.php index bb51d91..93f9082 100644 --- a/lib/Api/SearchApi.php +++ b/lib/Api/SearchApi.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Api/StatisticsApi.php b/lib/Api/StatisticsApi.php index 816ca9e..6319cf4 100644 --- a/lib/Api/StatisticsApi.php +++ b/lib/Api/StatisticsApi.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Api/TeamsApi.php b/lib/Api/TeamsApi.php index 8047e33..d7c6a08 100644 --- a/lib/Api/TeamsApi.php +++ b/lib/Api/TeamsApi.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Api/TemplatesApi.php b/lib/Api/TemplatesApi.php index 5a42c1d..b0ec554 100644 --- a/lib/Api/TemplatesApi.php +++ b/lib/Api/TemplatesApi.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Api/TranslationsApi.php b/lib/Api/TranslationsApi.php index f17ca55..4ee63e9 100644 --- a/lib/Api/TranslationsApi.php +++ b/lib/Api/TranslationsApi.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Api/UserManagementApi.php b/lib/Api/UserManagementApi.php index f647da2..eda0dfa 100644 --- a/lib/Api/UserManagementApi.php +++ b/lib/Api/UserManagementApi.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Api/UsersApi.php b/lib/Api/UsersApi.php index 57c0d2e..02892fc 100644 --- a/lib/Api/UsersApi.php +++ b/lib/Api/UsersApi.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/ApiException.php b/lib/ApiException.php index a63c0f4..feafe5a 100644 --- a/lib/ApiException.php +++ b/lib/ApiException.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** @@ -49,7 +49,7 @@ class ApiException extends Exception /** * The HTTP header of the server response. * - * @var string[]|null + * @var string[][]|null */ protected $responseHeaders; @@ -65,7 +65,7 @@ class ApiException extends Exception * * @param string $message Error message * @param int $code HTTP status code - * @param string[]|null $responseHeaders HTTP response header + * @param string[][]|null $responseHeaders HTTP response header * @param \stdClass|string|null $responseBody HTTP decoded body of the server response either as \stdClass or string */ public function __construct($message = "", $code = 0, $responseHeaders = [], $responseBody = null) @@ -78,7 +78,7 @@ public function __construct($message = "", $code = 0, $responseHeaders = [], $re /** * Gets the HTTP response header * - * @return string[]|null HTTP response header + * @return string[][]|null HTTP response header */ public function getResponseHeaders() { diff --git a/lib/Configuration.php b/lib/Configuration.php index ac3e378..3c52b2c 100644 --- a/lib/Configuration.php +++ b/lib/Configuration.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** @@ -27,8 +27,6 @@ namespace Squidex\Client; -use Squidex\Client\SquidexInMemoryTokenStore; - /** * Configuration Class Doc Comment * PHP version 7.4 @@ -49,53 +47,53 @@ class Configuration private static $defaultConfiguration; /** - * Client ID for OAuth/Bearer authentication + * Associate array to store API key(s) * - * @var string + * @var string[] */ - protected $clientId = ''; + protected $apiKeys = []; /** - * Client Secret for OAuth/Bearer authentication + * Associate array to store API prefix (e.g. Bearer) * - * @var string + * @var string[] */ - protected $clientSecret = ''; + protected $apiKeyPrefixes = []; /** - * App Name + * Access token for OAuth/Bearer authentication * * @var string */ - protected $appName = ''; + protected $accessToken = ''; /** * Boolean format for query string * * @var string */ - protected $booleanFormatForQueryString = self::BOOLEAN_FORMAT_STRING; + protected $booleanFormatForQueryString = self::BOOLEAN_FORMAT_INT; /** - * The host + * Username for HTTP basic authentication * * @var string */ - protected $host = 'https://cloud.squidex.io'; + protected $username = ''; /** - * The timeout in seconds + * Password for HTTP basic authentication * - * @var float + * @var string */ - protected $timeout = 30.0; + protected $password = ''; /** - * The token store. + * The host * - * @var SquidexTokenStore + * @var string */ - protected $tokenStore = null; + protected $host = 'https://cloud.squidex.io'; /** * User agent of the HTTP request, set to "OpenAPI-Generator/{version}/PHP" by default @@ -104,13 +102,6 @@ class Configuration */ protected $userAgent = 'OpenAPI-Generator/1.0.0/PHP'; - /** - * Ignore the validation of certificates. - * - * @var boolean - */ - protected $ignoreCertificates = false; - /** * Debug switch (default set to false) * @@ -137,123 +128,95 @@ class Configuration */ public function __construct() { - $this->tokenStore = new SquidexInMemoryTokenStore(); $this->tempFolderPath = sys_get_temp_dir(); } /** - * Sets the client ID for OAuth + * Sets API key * - * @param string $clientId Token for OAuth + * @param string $apiKeyIdentifier API key identifier (authentication scheme) + * @param string $key API key or token * * @return $this */ - public function setClientId($clientId) + public function setApiKey($apiKeyIdentifier, $key) { - if (!is_string($clientId)) { - throw new \InvalidArgumentException('Client ID must be a string.'); - } - - $this->clientId = $clientId; + $this->apiKeys[$apiKeyIdentifier] = $key; return $this; } /** - * Gets the client ID for OAuth + * Gets API key * - * @return string client ID for OAuth + * @param string $apiKeyIdentifier API key identifier (authentication scheme) + * + * @return null|string API key or token */ - public function getClientId() + public function getApiKey($apiKeyIdentifier) { - return $this->clientId; + return isset($this->apiKeys[$apiKeyIdentifier]) ? $this->apiKeys[$apiKeyIdentifier] : null; } /** - * Sets the client secret for OAuth + * Sets the prefix for API key (e.g. Bearer) * - * @param string $clientSecret Token for OAuth + * @param string $apiKeyIdentifier API key identifier (authentication scheme) + * @param string $prefix API key prefix, e.g. Bearer * * @return $this */ - public function setClientSecret($clientSecret) + public function setApiKeyPrefix($apiKeyIdentifier, $prefix) { - if (!is_string($clientSecret)) { - throw new \InvalidArgumentException('Client Secret must be a string.'); - } - - $this->clientSecret = $clientSecret; + $this->apiKeyPrefixes[$apiKeyIdentifier] = $prefix; return $this; } /** - * Gets the client secret for OAuth - * - * @return string client secret for OAuth - */ - public function getClientSecret() - { - return $this->clientSecret; - } - - /** - * Set the flag to the validation of certificates. + * Gets API key prefix * - * @param boolean $ignoreCertificates Certificate flag. + * @param string $apiKeyIdentifier API key identifier (authentication scheme) * - * @return $this + * @return null|string */ - public function setIgnoreCertificates($ignoreCertificates) + public function getApiKeyPrefix($apiKeyIdentifier) { - $this->ignoreCertificates = $ignoreCertificates; - return $this; - } - - /** - * Get the flag to the validation of certificates. - * - * @return boolean Certificate flag. - */ - public function getIgnoreCertificates() { - return $this->ignoreCertificates; + return isset($this->apiKeyPrefixes[$apiKeyIdentifier]) ? $this->apiKeyPrefixes[$apiKeyIdentifier] : null; } /** - * Sets the app name. + * Sets the access token for OAuth * - * @param string $appName + * @param string $accessToken Token for OAuth * * @return $this */ - public function setAppName($appName) + public function setAccessToken($accessToken) { - if (!is_string($appName)) { - throw new \InvalidArgumentException('App Name must be a string.'); - } - - $this->appName = $appName; + $this->accessToken = $accessToken; return $this; } /** - * Gets the app name. + * Gets the access token for OAuth * - * @return string App name + * @return string Access token for OAuth */ - public function getAppName() + public function getAccessToken() { - return $this->appName; + return $this->accessToken; } /** * Sets boolean format for query string. * - * @param string $booleanFormatForQueryString Boolean format for query string + * @param string $booleanFormat Boolean format for query string * * @return $this */ public function setBooleanFormatForQueryString(string $booleanFormat) { $this->booleanFormatForQueryString = $booleanFormat; + return $this; } @@ -268,80 +231,72 @@ public function getBooleanFormatForQueryString(): string } /** - * Sets the host + * Sets the username for HTTP basic authentication * - * @param string $host Host + * @param string $username Username for HTTP basic authentication * * @return $this */ - public function setHost($host) + public function setUsername($username) { - if (!is_string($host)) { - throw new \InvalidArgumentException('Host must be a string.'); - } - - $this->host = $host; + $this->username = $username; return $this; } /** - * Gets the host + * Gets the username for HTTP basic authentication * - * @return string Host + * @return string Username for HTTP basic authentication */ - public function getHost() + public function getUsername() { - return $this->host; + return $this->username; } /** - * Sets the timeout + * Sets the password for HTTP basic authentication * - * @param float $timeout Timeout in seconds + * @param string $password Password for HTTP basic authentication * * @return $this */ - public function setTimeout($timeout) + public function setPassword($password) { - if (!is_float($timeout)) { - throw new \InvalidArgumentException('Timeout must be a float.'); - } - - $this->timeout = $timeout; + $this->password = $password; return $this; } /** - * Gets the timeout + * Gets the password for HTTP basic authentication * - * @return float Timeout in seconds + * @return string Password for HTTP basic authentication */ - public function getTimeout() + public function getPassword() { - return $this->timeout; + return $this->password; } /** - * Sets the token store + * Sets the host * - * @param SquidexTokentStore $timeout Timeout in seconds + * @param string $host Host * * @return $this */ - public function setTokenStore($tokenStore) + public function setHost($host) { - $this->tokenStore = $tokenStore; + $this->host = $host; return $this; } /** - * Gets the token store + * Gets the host * - * @return SquidexTokentStore Token store + * @return string Host */ - public function getTokenStore() + public function getHost() { - return $this->tokenStore; + return $this->host; } /** @@ -441,32 +396,6 @@ public function getTempFolderPath() return $this->tempFolderPath; } - /** - * Validates the configuration. - */ - public function validate() - { - if (!is_float($this->timeout)) { - throw new \InvalidArgumentException('Timeout must be a float.'); - } - - if (!is_string($this->clientId) || empty($this->clientId)) { - throw new \InvalidArgumentException('Client ID must be a string.'); - } - - if (!is_string($this->clientSecret) || empty($this->clientSecret)) { - throw new \InvalidArgumentException('Client Secret must be a string.'); - } - - if (!is_string($this->appName) || empty($this->appName)) { - throw new \InvalidArgumentException('App Name must be a string.'); - } - - if (!isset($this->tokenStore)) { - throw new \InvalidArgumentException('Token store must be defined.'); - } - } - /** * Gets the default configuration instance * @@ -509,6 +438,31 @@ public static function toDebugReport() return $report; } + /** + * Get API key (with prefix if set) + * + * @param string $apiKeyIdentifier name of apikey + * + * @return null|string API key with the prefix + */ + public function getApiKeyWithPrefix($apiKeyIdentifier) + { + $prefix = $this->getApiKeyPrefix($apiKeyIdentifier); + $apiKey = $this->getApiKey($apiKeyIdentifier); + + if ($apiKey === null) { + return null; + } + + if ($prefix === null) { + $keyWithPrefix = $apiKey; + } else { + $keyWithPrefix = $prefix . ' ' . $apiKey; + } + + return $keyWithPrefix; + } + /** * Returns an array of host settings * @@ -532,18 +486,18 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostsSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) { if (null === $variables) { $variables = []; } // check array index out of bound - if ($hostIndex < 0 || $hostIndex >= count($hostsSettings)) { - throw new \InvalidArgumentException("Invalid index $hostIndex when selecting the host. Must be less than ".count($hostsSettings)); + if ($hostIndex < 0 || $hostIndex >= count($hostSettings)) { + throw new \InvalidArgumentException("Invalid index $hostIndex when selecting the host. Must be less than ".count($hostSettings)); } - $host = $hostsSettings[$hostIndex]; + $host = $hostSettings[$hostIndex]; $url = $host["url"]; // go through variable and assign a value diff --git a/lib/HeaderSelector.php b/lib/HeaderSelector.php index 65b968e..728d9af 100644 --- a/lib/HeaderSelector.php +++ b/lib/HeaderSelector.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ActionTypeEnum.php b/lib/Model/ActionTypeEnum.php index 67ea225..a6c0033 100644 --- a/lib/Model/ActionTypeEnum.php +++ b/lib/Model/ActionTypeEnum.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/AddFieldDto.php b/lib/Model/AddFieldDto.php index 9af45bc..3d79a05 100644 --- a/lib/Model/AddFieldDto.php +++ b/lib/Model/AddFieldDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/AddLanguageDto.php b/lib/Model/AddLanguageDto.php index 8bc21cc..d9a0e2e 100644 --- a/lib/Model/AddLanguageDto.php +++ b/lib/Model/AddLanguageDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/AddRoleDto.php b/lib/Model/AddRoleDto.php index 3277c60..786be0c 100644 --- a/lib/Model/AddRoleDto.php +++ b/lib/Model/AddRoleDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/AddWorkflowDto.php b/lib/Model/AddWorkflowDto.php index 326fe07..0a878fd 100644 --- a/lib/Model/AddWorkflowDto.php +++ b/lib/Model/AddWorkflowDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/AlgoliaRuleActionDto.php b/lib/Model/AlgoliaRuleActionDto.php index 1d778a8..bc75ca7 100644 --- a/lib/Model/AlgoliaRuleActionDto.php +++ b/lib/Model/AlgoliaRuleActionDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/AllContentsByPostDto.php b/lib/Model/AllContentsByPostDto.php index 935549f..2ae1347 100644 --- a/lib/Model/AllContentsByPostDto.php +++ b/lib/Model/AllContentsByPostDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/AnnotateAssetDto.php b/lib/Model/AnnotateAssetDto.php index 238b1a2..4338cd4 100644 --- a/lib/Model/AnnotateAssetDto.php +++ b/lib/Model/AnnotateAssetDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/AppDto.php b/lib/Model/AppDto.php index 33bcf4f..5d73206 100644 --- a/lib/Model/AppDto.php +++ b/lib/Model/AppDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/AppLanguageDto.php b/lib/Model/AppLanguageDto.php index 7ceb773..734205e 100644 --- a/lib/Model/AppLanguageDto.php +++ b/lib/Model/AppLanguageDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/AppLanguagesDto.php b/lib/Model/AppLanguagesDto.php index c2ec3cb..faef212 100644 --- a/lib/Model/AppLanguagesDto.php +++ b/lib/Model/AppLanguagesDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/AppSettingsDto.php b/lib/Model/AppSettingsDto.php index 4a10b47..fdba0ab 100644 --- a/lib/Model/AppSettingsDto.php +++ b/lib/Model/AppSettingsDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ArrayCalculatedDefaultValue.php b/lib/Model/ArrayCalculatedDefaultValue.php index 388afc1..4ace7b7 100644 --- a/lib/Model/ArrayCalculatedDefaultValue.php +++ b/lib/Model/ArrayCalculatedDefaultValue.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ArrayFieldPropertiesDto.php b/lib/Model/ArrayFieldPropertiesDto.php index cd63922..2f8c369 100644 --- a/lib/Model/ArrayFieldPropertiesDto.php +++ b/lib/Model/ArrayFieldPropertiesDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/AssetChangedRuleTriggerDto.php b/lib/Model/AssetChangedRuleTriggerDto.php index 49db940..6f9bd75 100644 --- a/lib/Model/AssetChangedRuleTriggerDto.php +++ b/lib/Model/AssetChangedRuleTriggerDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/AssetDto.php b/lib/Model/AssetDto.php index f9e8557..0d9adc9 100644 --- a/lib/Model/AssetDto.php +++ b/lib/Model/AssetDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/AssetFolderDto.php b/lib/Model/AssetFolderDto.php index b171231..5084305 100644 --- a/lib/Model/AssetFolderDto.php +++ b/lib/Model/AssetFolderDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/AssetFolderScope.php b/lib/Model/AssetFolderScope.php index 5bdce4c..c98e16c 100644 --- a/lib/Model/AssetFolderScope.php +++ b/lib/Model/AssetFolderScope.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/AssetFoldersDto.php b/lib/Model/AssetFoldersDto.php index 5a6ca0f..e55c033 100644 --- a/lib/Model/AssetFoldersDto.php +++ b/lib/Model/AssetFoldersDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/AssetMeta.php b/lib/Model/AssetMeta.php index 4ebdfe2..aa38b83 100644 --- a/lib/Model/AssetMeta.php +++ b/lib/Model/AssetMeta.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/AssetPreviewMode.php b/lib/Model/AssetPreviewMode.php index 6871f3d..e03f1f9 100644 --- a/lib/Model/AssetPreviewMode.php +++ b/lib/Model/AssetPreviewMode.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/AssetScriptsDto.php b/lib/Model/AssetScriptsDto.php index 62fa771..d0153e6 100644 --- a/lib/Model/AssetScriptsDto.php +++ b/lib/Model/AssetScriptsDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/AssetType.php b/lib/Model/AssetType.php index c200eba..111480c 100644 --- a/lib/Model/AssetType.php +++ b/lib/Model/AssetType.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/AssetsDto.php b/lib/Model/AssetsDto.php index 0e2f060..8fac614 100644 --- a/lib/Model/AssetsDto.php +++ b/lib/Model/AssetsDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/AssetsFieldPropertiesDto.php b/lib/Model/AssetsFieldPropertiesDto.php index 69e6031..4b01a4e 100644 --- a/lib/Model/AssetsFieldPropertiesDto.php +++ b/lib/Model/AssetsFieldPropertiesDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/AssignContributorDto.php b/lib/Model/AssignContributorDto.php index a340b9d..3080c07 100644 --- a/lib/Model/AssignContributorDto.php +++ b/lib/Model/AssignContributorDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/AuthSchemeDto.php b/lib/Model/AuthSchemeDto.php index 6e16a60..a9244b5 100644 --- a/lib/Model/AuthSchemeDto.php +++ b/lib/Model/AuthSchemeDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/AuthSchemeResponseDto.php b/lib/Model/AuthSchemeResponseDto.php index 444a103..aa0eba6 100644 --- a/lib/Model/AuthSchemeResponseDto.php +++ b/lib/Model/AuthSchemeResponseDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/AuthSchemeValueDto.php b/lib/Model/AuthSchemeValueDto.php index 81b117e..8852e51 100644 --- a/lib/Model/AuthSchemeValueDto.php +++ b/lib/Model/AuthSchemeValueDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/AzureQueueRuleActionDto.php b/lib/Model/AzureQueueRuleActionDto.php index e154fcf..a58b6c5 100644 --- a/lib/Model/AzureQueueRuleActionDto.php +++ b/lib/Model/AzureQueueRuleActionDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/BackupJobDto.php b/lib/Model/BackupJobDto.php index 14f5a5a..6a3aed0 100644 --- a/lib/Model/BackupJobDto.php +++ b/lib/Model/BackupJobDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/BackupJobsDto.php b/lib/Model/BackupJobsDto.php index 0033719..5dfb046 100644 --- a/lib/Model/BackupJobsDto.php +++ b/lib/Model/BackupJobsDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/BooleanFieldEditor.php b/lib/Model/BooleanFieldEditor.php index 270de32..c804160 100644 --- a/lib/Model/BooleanFieldEditor.php +++ b/lib/Model/BooleanFieldEditor.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/BooleanFieldPropertiesDto.php b/lib/Model/BooleanFieldPropertiesDto.php index dcd106f..dd3d59e 100644 --- a/lib/Model/BooleanFieldPropertiesDto.php +++ b/lib/Model/BooleanFieldPropertiesDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/BulkResultDto.php b/lib/Model/BulkResultDto.php index 7d805d0..1e21770 100644 --- a/lib/Model/BulkResultDto.php +++ b/lib/Model/BulkResultDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/BulkUpdateAssetType.php b/lib/Model/BulkUpdateAssetType.php index c3d5644..3e03645 100644 --- a/lib/Model/BulkUpdateAssetType.php +++ b/lib/Model/BulkUpdateAssetType.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/BulkUpdateAssetsDto.php b/lib/Model/BulkUpdateAssetsDto.php index 2682666..471b918 100644 --- a/lib/Model/BulkUpdateAssetsDto.php +++ b/lib/Model/BulkUpdateAssetsDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/BulkUpdateAssetsJobDto.php b/lib/Model/BulkUpdateAssetsJobDto.php index 912235d..e11b5d3 100644 --- a/lib/Model/BulkUpdateAssetsJobDto.php +++ b/lib/Model/BulkUpdateAssetsJobDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/BulkUpdateContentType.php b/lib/Model/BulkUpdateContentType.php index 9331b47..817c662 100644 --- a/lib/Model/BulkUpdateContentType.php +++ b/lib/Model/BulkUpdateContentType.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/BulkUpdateContentsDto.php b/lib/Model/BulkUpdateContentsDto.php index 452d668..ef58db3 100644 --- a/lib/Model/BulkUpdateContentsDto.php +++ b/lib/Model/BulkUpdateContentsDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/BulkUpdateContentsJobDto.php b/lib/Model/BulkUpdateContentsJobDto.php index 0ba7fa8..68ae04e 100644 --- a/lib/Model/BulkUpdateContentsJobDto.php +++ b/lib/Model/BulkUpdateContentsJobDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/CallsUsageDtoDto.php b/lib/Model/CallsUsageDtoDto.php index f8fcbe1..48dfb9f 100644 --- a/lib/Model/CallsUsageDtoDto.php +++ b/lib/Model/CallsUsageDtoDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/CallsUsagePerDateDto.php b/lib/Model/CallsUsagePerDateDto.php index 310e1ab..7cfa8ec 100644 --- a/lib/Model/CallsUsagePerDateDto.php +++ b/lib/Model/CallsUsagePerDateDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ChangeCategoryDto.php b/lib/Model/ChangeCategoryDto.php index 2f92911..df8ef85 100644 --- a/lib/Model/ChangeCategoryDto.php +++ b/lib/Model/ChangeCategoryDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ChangePlanDto.php b/lib/Model/ChangePlanDto.php index 1f588cb..a30a9f2 100644 --- a/lib/Model/ChangePlanDto.php +++ b/lib/Model/ChangePlanDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ChangeStatusDto.php b/lib/Model/ChangeStatusDto.php index 5c4c549..4f40ed1 100644 --- a/lib/Model/ChangeStatusDto.php +++ b/lib/Model/ChangeStatusDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ClientDto.php b/lib/Model/ClientDto.php index 066446d..751ff2c 100644 --- a/lib/Model/ClientDto.php +++ b/lib/Model/ClientDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ClientsDto.php b/lib/Model/ClientsDto.php index 42c2a88..7267526 100644 --- a/lib/Model/ClientsDto.php +++ b/lib/Model/ClientsDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/CommentRuleActionDto.php b/lib/Model/CommentRuleActionDto.php index 7c642a2..fd39e5a 100644 --- a/lib/Model/CommentRuleActionDto.php +++ b/lib/Model/CommentRuleActionDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/CommentRuleTriggerDto.php b/lib/Model/CommentRuleTriggerDto.php index be24d35..facf8c0 100644 --- a/lib/Model/CommentRuleTriggerDto.php +++ b/lib/Model/CommentRuleTriggerDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ComponentFieldPropertiesDto.php b/lib/Model/ComponentFieldPropertiesDto.php index 9c8d7d7..9d79d01 100644 --- a/lib/Model/ComponentFieldPropertiesDto.php +++ b/lib/Model/ComponentFieldPropertiesDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ComponentsFieldPropertiesDto.php b/lib/Model/ComponentsFieldPropertiesDto.php index 889e1a8..d57ce79 100644 --- a/lib/Model/ComponentsFieldPropertiesDto.php +++ b/lib/Model/ComponentsFieldPropertiesDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ConfigureFieldRulesDto.php b/lib/Model/ConfigureFieldRulesDto.php index 8cb8c0d..13fa407 100644 --- a/lib/Model/ConfigureFieldRulesDto.php +++ b/lib/Model/ConfigureFieldRulesDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ConfigureUIFieldsDto.php b/lib/Model/ConfigureUIFieldsDto.php index e42b2c3..ef6a803 100644 --- a/lib/Model/ConfigureUIFieldsDto.php +++ b/lib/Model/ConfigureUIFieldsDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ContentChangedRuleTriggerDto.php b/lib/Model/ContentChangedRuleTriggerDto.php index 632d4ad..4ed47bb 100644 --- a/lib/Model/ContentChangedRuleTriggerDto.php +++ b/lib/Model/ContentChangedRuleTriggerDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ContentDto.php b/lib/Model/ContentDto.php index 68721ec..c0c8467 100644 --- a/lib/Model/ContentDto.php +++ b/lib/Model/ContentDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ContentsDto.php b/lib/Model/ContentsDto.php index f13ea3f..a5d1012 100644 --- a/lib/Model/ContentsDto.php +++ b/lib/Model/ContentsDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ContributorDto.php b/lib/Model/ContributorDto.php index b613e81..ae670af 100644 --- a/lib/Model/ContributorDto.php +++ b/lib/Model/ContributorDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ContributorsDto.php b/lib/Model/ContributorsDto.php index e480c17..c37600c 100644 --- a/lib/Model/ContributorsDto.php +++ b/lib/Model/ContributorsDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ContributorsMetadata.php b/lib/Model/ContributorsMetadata.php index ba05425..79c4c23 100644 --- a/lib/Model/ContributorsMetadata.php +++ b/lib/Model/ContributorsMetadata.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/CreateAppDto.php b/lib/Model/CreateAppDto.php index beb40f7..b0b62fc 100644 --- a/lib/Model/CreateAppDto.php +++ b/lib/Model/CreateAppDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/CreateAssetFolderDto.php b/lib/Model/CreateAssetFolderDto.php index 7b02df0..36a63b3 100644 --- a/lib/Model/CreateAssetFolderDto.php +++ b/lib/Model/CreateAssetFolderDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/CreateClientDto.php b/lib/Model/CreateClientDto.php index a68d2b5..f4dc1fb 100644 --- a/lib/Model/CreateClientDto.php +++ b/lib/Model/CreateClientDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/CreateContentRuleActionDto.php b/lib/Model/CreateContentRuleActionDto.php index 3e9f7e0..b68e861 100644 --- a/lib/Model/CreateContentRuleActionDto.php +++ b/lib/Model/CreateContentRuleActionDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/CreateRuleDto.php b/lib/Model/CreateRuleDto.php index 5889022..1f95a65 100644 --- a/lib/Model/CreateRuleDto.php +++ b/lib/Model/CreateRuleDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/CreateSchemaDto.php b/lib/Model/CreateSchemaDto.php index 07613d7..0f23fc4 100644 --- a/lib/Model/CreateSchemaDto.php +++ b/lib/Model/CreateSchemaDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/CreateTeamDto.php b/lib/Model/CreateTeamDto.php index 25d5354..e85f28c 100644 --- a/lib/Model/CreateTeamDto.php +++ b/lib/Model/CreateTeamDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/CreateUserDto.php b/lib/Model/CreateUserDto.php index 76a106b..d37f8a9 100644 --- a/lib/Model/CreateUserDto.php +++ b/lib/Model/CreateUserDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/CurrentStorageDto.php b/lib/Model/CurrentStorageDto.php index 8bc1d64..86f3912 100644 --- a/lib/Model/CurrentStorageDto.php +++ b/lib/Model/CurrentStorageDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/DateTimeCalculatedDefaultValue.php b/lib/Model/DateTimeCalculatedDefaultValue.php index 4e59688..5c79bb1 100644 --- a/lib/Model/DateTimeCalculatedDefaultValue.php +++ b/lib/Model/DateTimeCalculatedDefaultValue.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/DateTimeFieldEditor.php b/lib/Model/DateTimeFieldEditor.php index 656d9ae..0341592 100644 --- a/lib/Model/DateTimeFieldEditor.php +++ b/lib/Model/DateTimeFieldEditor.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/DateTimeFieldPropertiesDto.php b/lib/Model/DateTimeFieldPropertiesDto.php index 0e77d84..e0067fb 100644 --- a/lib/Model/DateTimeFieldPropertiesDto.php +++ b/lib/Model/DateTimeFieldPropertiesDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/DiscourseRuleActionDto.php b/lib/Model/DiscourseRuleActionDto.php index 202eb1f..c24bccf 100644 --- a/lib/Model/DiscourseRuleActionDto.php +++ b/lib/Model/DiscourseRuleActionDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/EditorDto.php b/lib/Model/EditorDto.php index e92d742..f6fdfc4 100644 --- a/lib/Model/EditorDto.php +++ b/lib/Model/EditorDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ElasticSearchRuleActionDto.php b/lib/Model/ElasticSearchRuleActionDto.php index 1e8c186..1566555 100644 --- a/lib/Model/ElasticSearchRuleActionDto.php +++ b/lib/Model/ElasticSearchRuleActionDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/EmailRuleActionDto.php b/lib/Model/EmailRuleActionDto.php index f4ed743..3d44aae 100644 --- a/lib/Model/EmailRuleActionDto.php +++ b/lib/Model/EmailRuleActionDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ErrorDto.php b/lib/Model/ErrorDto.php index 6f9009b..b7fa291 100644 --- a/lib/Model/ErrorDto.php +++ b/lib/Model/ErrorDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/EventConsumerDto.php b/lib/Model/EventConsumerDto.php index 07e90ba..c9ab8e4 100644 --- a/lib/Model/EventConsumerDto.php +++ b/lib/Model/EventConsumerDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/EventConsumersDto.php b/lib/Model/EventConsumersDto.php index cde1f1e..6eb2b2b 100644 --- a/lib/Model/EventConsumersDto.php +++ b/lib/Model/EventConsumersDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/FastlyRuleActionDto.php b/lib/Model/FastlyRuleActionDto.php index 32d2e26..fb46703 100644 --- a/lib/Model/FastlyRuleActionDto.php +++ b/lib/Model/FastlyRuleActionDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/FeatureDto.php b/lib/Model/FeatureDto.php index b1c2fde..55c2123 100644 --- a/lib/Model/FeatureDto.php +++ b/lib/Model/FeatureDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/FeaturesDto.php b/lib/Model/FeaturesDto.php index d480829..0479989 100644 --- a/lib/Model/FeaturesDto.php +++ b/lib/Model/FeaturesDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/FieldDto.php b/lib/Model/FieldDto.php index 4210cdb..fc0609c 100644 --- a/lib/Model/FieldDto.php +++ b/lib/Model/FieldDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/FieldPropertiesDto.php b/lib/Model/FieldPropertiesDto.php index be426ac..60ff3d8 100644 --- a/lib/Model/FieldPropertiesDto.php +++ b/lib/Model/FieldPropertiesDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/FieldRuleAction.php b/lib/Model/FieldRuleAction.php index 5a1fddd..026c6f7 100644 --- a/lib/Model/FieldRuleAction.php +++ b/lib/Model/FieldRuleAction.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/FieldRuleDto.php b/lib/Model/FieldRuleDto.php index 8f4877c..c26db7a 100644 --- a/lib/Model/FieldRuleDto.php +++ b/lib/Model/FieldRuleDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/GeolocationFieldEditor.php b/lib/Model/GeolocationFieldEditor.php index 9b2fc07..122c3b2 100644 --- a/lib/Model/GeolocationFieldEditor.php +++ b/lib/Model/GeolocationFieldEditor.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/GeolocationFieldPropertiesDto.php b/lib/Model/GeolocationFieldPropertiesDto.php index 3d3adb4..eac03d2 100644 --- a/lib/Model/GeolocationFieldPropertiesDto.php +++ b/lib/Model/GeolocationFieldPropertiesDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/HistoryEventDto.php b/lib/Model/HistoryEventDto.php index 52a24f3..0389381 100644 --- a/lib/Model/HistoryEventDto.php +++ b/lib/Model/HistoryEventDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ImageFormat.php b/lib/Model/ImageFormat.php index 774841b..c2993e4 100644 --- a/lib/Model/ImageFormat.php +++ b/lib/Model/ImageFormat.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ImportContentsDto.php b/lib/Model/ImportContentsDto.php index 4c6a70b..cb21613 100644 --- a/lib/Model/ImportContentsDto.php +++ b/lib/Model/ImportContentsDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/JobDto.php b/lib/Model/JobDto.php index 162bfdb..b8a35b2 100644 --- a/lib/Model/JobDto.php +++ b/lib/Model/JobDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/JobLogMessageDto.php b/lib/Model/JobLogMessageDto.php index 9dc81b6..1423b0a 100644 --- a/lib/Model/JobLogMessageDto.php +++ b/lib/Model/JobLogMessageDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/JobStatus.php b/lib/Model/JobStatus.php index f70fea5..ab04b25 100644 --- a/lib/Model/JobStatus.php +++ b/lib/Model/JobStatus.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/JobsDto.php b/lib/Model/JobsDto.php index 558cd21..4783edc 100644 --- a/lib/Model/JobsDto.php +++ b/lib/Model/JobsDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/JsonFieldPropertiesDto.php b/lib/Model/JsonFieldPropertiesDto.php index aaffb47..4e7b92b 100644 --- a/lib/Model/JsonFieldPropertiesDto.php +++ b/lib/Model/JsonFieldPropertiesDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/LanguageDto.php b/lib/Model/LanguageDto.php index 64a8e2c..7fa12b7 100644 --- a/lib/Model/LanguageDto.php +++ b/lib/Model/LanguageDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/LogDownloadDto.php b/lib/Model/LogDownloadDto.php index fc68a5a..eeb2fc5 100644 --- a/lib/Model/LogDownloadDto.php +++ b/lib/Model/LogDownloadDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ManualRuleTriggerDto.php b/lib/Model/ManualRuleTriggerDto.php index a37d8e0..fe04531 100644 --- a/lib/Model/ManualRuleTriggerDto.php +++ b/lib/Model/ManualRuleTriggerDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/MediumRuleActionDto.php b/lib/Model/MediumRuleActionDto.php index f57cd5d..0e1c543 100644 --- a/lib/Model/MediumRuleActionDto.php +++ b/lib/Model/MediumRuleActionDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ModelInterface.php b/lib/Model/ModelInterface.php index 85d15ec..ef8c169 100644 --- a/lib/Model/ModelInterface.php +++ b/lib/Model/ModelInterface.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/MoveAssetDto.php b/lib/Model/MoveAssetDto.php index 287b2e6..cce84f6 100644 --- a/lib/Model/MoveAssetDto.php +++ b/lib/Model/MoveAssetDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/MoveAssetFolderDto.php b/lib/Model/MoveAssetFolderDto.php index a4411b6..1567edb 100644 --- a/lib/Model/MoveAssetFolderDto.php +++ b/lib/Model/MoveAssetFolderDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/NestedFieldDto.php b/lib/Model/NestedFieldDto.php index c62901e..7649c15 100644 --- a/lib/Model/NestedFieldDto.php +++ b/lib/Model/NestedFieldDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/NotificationRuleActionDto.php b/lib/Model/NotificationRuleActionDto.php index d355dcd..95d817f 100644 --- a/lib/Model/NotificationRuleActionDto.php +++ b/lib/Model/NotificationRuleActionDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/NumberFieldEditor.php b/lib/Model/NumberFieldEditor.php index 35a668a..af60d29 100644 --- a/lib/Model/NumberFieldEditor.php +++ b/lib/Model/NumberFieldEditor.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/NumberFieldPropertiesDto.php b/lib/Model/NumberFieldPropertiesDto.php index 9852c62..9a92915 100644 --- a/lib/Model/NumberFieldPropertiesDto.php +++ b/lib/Model/NumberFieldPropertiesDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/OpenSearchRuleActionDto.php b/lib/Model/OpenSearchRuleActionDto.php index d2fc9ae..fcbb6b8 100644 --- a/lib/Model/OpenSearchRuleActionDto.php +++ b/lib/Model/OpenSearchRuleActionDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/PatternDto.php b/lib/Model/PatternDto.php index 96217af..a1e642d 100644 --- a/lib/Model/PatternDto.php +++ b/lib/Model/PatternDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/PlanChangedDto.php b/lib/Model/PlanChangedDto.php index c09aab3..0173e54 100644 --- a/lib/Model/PlanChangedDto.php +++ b/lib/Model/PlanChangedDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/PlanDto.php b/lib/Model/PlanDto.php index e7be4cb..d35f8a9 100644 --- a/lib/Model/PlanDto.php +++ b/lib/Model/PlanDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/PlansDto.php b/lib/Model/PlansDto.php index 68f530d..0f20d16 100644 --- a/lib/Model/PlansDto.php +++ b/lib/Model/PlansDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/PlansLockedReason.php b/lib/Model/PlansLockedReason.php index 151558e..eba0125 100644 --- a/lib/Model/PlansLockedReason.php +++ b/lib/Model/PlansLockedReason.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/PrerenderRuleActionDto.php b/lib/Model/PrerenderRuleActionDto.php index ac447d4..be1bef0 100644 --- a/lib/Model/PrerenderRuleActionDto.php +++ b/lib/Model/PrerenderRuleActionDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/QueryDto.php b/lib/Model/QueryDto.php index 5bd5c4c..99fa596 100644 --- a/lib/Model/QueryDto.php +++ b/lib/Model/QueryDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/QueryJsonDto.php b/lib/Model/QueryJsonDto.php index 90b5200..16ef180 100644 --- a/lib/Model/QueryJsonDto.php +++ b/lib/Model/QueryJsonDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ReferencesFieldEditor.php b/lib/Model/ReferencesFieldEditor.php index d16b820..e762454 100644 --- a/lib/Model/ReferencesFieldEditor.php +++ b/lib/Model/ReferencesFieldEditor.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ReferencesFieldPropertiesDto.php b/lib/Model/ReferencesFieldPropertiesDto.php index f228642..3263fae 100644 --- a/lib/Model/ReferencesFieldPropertiesDto.php +++ b/lib/Model/ReferencesFieldPropertiesDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ReferralInfo.php b/lib/Model/ReferralInfo.php index ac11bb4..28e5c32 100644 --- a/lib/Model/ReferralInfo.php +++ b/lib/Model/ReferralInfo.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/RenameAssetFolderDto.php b/lib/Model/RenameAssetFolderDto.php index 5c6f1ca..1b60057 100644 --- a/lib/Model/RenameAssetFolderDto.php +++ b/lib/Model/RenameAssetFolderDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/RenameTagDto.php b/lib/Model/RenameTagDto.php index bc53a1a..d560f54 100644 --- a/lib/Model/RenameTagDto.php +++ b/lib/Model/RenameTagDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ReorderFieldsDto.php b/lib/Model/ReorderFieldsDto.php index 56f0c3a..8027b94 100644 --- a/lib/Model/ReorderFieldsDto.php +++ b/lib/Model/ReorderFieldsDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ResizeMode.php b/lib/Model/ResizeMode.php index 5381c3b..28cfdff 100644 --- a/lib/Model/ResizeMode.php +++ b/lib/Model/ResizeMode.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/Resource.php b/lib/Model/Resource.php index 0db1a65..064d9b0 100644 --- a/lib/Model/Resource.php +++ b/lib/Model/Resource.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ResourceLink.php b/lib/Model/ResourceLink.php index dc2b688..00eb435 100644 --- a/lib/Model/ResourceLink.php +++ b/lib/Model/ResourceLink.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ResourcesDto.php b/lib/Model/ResourcesDto.php index b0917d7..dbdd006 100644 --- a/lib/Model/ResourcesDto.php +++ b/lib/Model/ResourcesDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/RestoreJobDto.php b/lib/Model/RestoreJobDto.php index 9ac1d82..9557955 100644 --- a/lib/Model/RestoreJobDto.php +++ b/lib/Model/RestoreJobDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/RestoreRequestDto.php b/lib/Model/RestoreRequestDto.php index 693fdb8..0218a93 100644 --- a/lib/Model/RestoreRequestDto.php +++ b/lib/Model/RestoreRequestDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/RichTextFieldPropertiesDto.php b/lib/Model/RichTextFieldPropertiesDto.php index 574a551..b54e928 100644 --- a/lib/Model/RichTextFieldPropertiesDto.php +++ b/lib/Model/RichTextFieldPropertiesDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/RoleDto.php b/lib/Model/RoleDto.php index 4ceebe4..090d5b0 100644 --- a/lib/Model/RoleDto.php +++ b/lib/Model/RoleDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/RolesDto.php b/lib/Model/RolesDto.php index 44bebba..1b734fc 100644 --- a/lib/Model/RolesDto.php +++ b/lib/Model/RolesDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/RuleActionDto.php b/lib/Model/RuleActionDto.php index 720fe90..3a4c39e 100644 --- a/lib/Model/RuleActionDto.php +++ b/lib/Model/RuleActionDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/RuleDto.php b/lib/Model/RuleDto.php index f78f976..8505722 100644 --- a/lib/Model/RuleDto.php +++ b/lib/Model/RuleDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/RuleElementDto.php b/lib/Model/RuleElementDto.php index 90ac1ae..6d006ff 100644 --- a/lib/Model/RuleElementDto.php +++ b/lib/Model/RuleElementDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/RuleElementPropertyDto.php b/lib/Model/RuleElementPropertyDto.php index 2aacd7e..07761c2 100644 --- a/lib/Model/RuleElementPropertyDto.php +++ b/lib/Model/RuleElementPropertyDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/RuleEventDto.php b/lib/Model/RuleEventDto.php index 67e8ace..1cf4932 100644 --- a/lib/Model/RuleEventDto.php +++ b/lib/Model/RuleEventDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/RuleEventsDto.php b/lib/Model/RuleEventsDto.php index bfd608c..57c7156 100644 --- a/lib/Model/RuleEventsDto.php +++ b/lib/Model/RuleEventsDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/RuleFieldEditor.php b/lib/Model/RuleFieldEditor.php index 9476e6e..b0c0bfd 100644 --- a/lib/Model/RuleFieldEditor.php +++ b/lib/Model/RuleFieldEditor.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/RuleJobResult.php b/lib/Model/RuleJobResult.php index 303cf63..514cead 100644 --- a/lib/Model/RuleJobResult.php +++ b/lib/Model/RuleJobResult.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/RuleResult.php b/lib/Model/RuleResult.php index b3c28fb..f161714 100644 --- a/lib/Model/RuleResult.php +++ b/lib/Model/RuleResult.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/RuleTriggerDto.php b/lib/Model/RuleTriggerDto.php index f0a0a97..1a29af4 100644 --- a/lib/Model/RuleTriggerDto.php +++ b/lib/Model/RuleTriggerDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/RulesDto.php b/lib/Model/RulesDto.php index f035243..86adf2d 100644 --- a/lib/Model/RulesDto.php +++ b/lib/Model/RulesDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ScheduleJobDto.php b/lib/Model/ScheduleJobDto.php index 6c145d7..405efb7 100644 --- a/lib/Model/ScheduleJobDto.php +++ b/lib/Model/ScheduleJobDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/SchemaChangedRuleTriggerDto.php b/lib/Model/SchemaChangedRuleTriggerDto.php index 4b8949d..544618b 100644 --- a/lib/Model/SchemaChangedRuleTriggerDto.php +++ b/lib/Model/SchemaChangedRuleTriggerDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/SchemaCondition.php b/lib/Model/SchemaCondition.php index 1217d77..e416c6b 100644 --- a/lib/Model/SchemaCondition.php +++ b/lib/Model/SchemaCondition.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/SchemaDto.php b/lib/Model/SchemaDto.php index 7b93033..5b514b0 100644 --- a/lib/Model/SchemaDto.php +++ b/lib/Model/SchemaDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/SchemaPropertiesDto.php b/lib/Model/SchemaPropertiesDto.php index c447afe..c0905a2 100644 --- a/lib/Model/SchemaPropertiesDto.php +++ b/lib/Model/SchemaPropertiesDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/SchemaScriptsDto.php b/lib/Model/SchemaScriptsDto.php index fdee864..207d246 100644 --- a/lib/Model/SchemaScriptsDto.php +++ b/lib/Model/SchemaScriptsDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/SchemaType.php b/lib/Model/SchemaType.php index db2bd56..efb25ef 100644 --- a/lib/Model/SchemaType.php +++ b/lib/Model/SchemaType.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/SchemasDto.php b/lib/Model/SchemasDto.php index 484e638..29e41a4 100644 --- a/lib/Model/SchemasDto.php +++ b/lib/Model/SchemasDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/ScriptRuleActionDto.php b/lib/Model/ScriptRuleActionDto.php index 4b1ebe9..183498b 100644 --- a/lib/Model/ScriptRuleActionDto.php +++ b/lib/Model/ScriptRuleActionDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/SearchResultDto.php b/lib/Model/SearchResultDto.php index 7c2f9a3..c54580f 100644 --- a/lib/Model/SearchResultDto.php +++ b/lib/Model/SearchResultDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/SearchResultType.php b/lib/Model/SearchResultType.php index d428753..829fd77 100644 --- a/lib/Model/SearchResultType.php +++ b/lib/Model/SearchResultType.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/SignalRRuleActionDto.php b/lib/Model/SignalRRuleActionDto.php index 4985c1f..65e6f4c 100644 --- a/lib/Model/SignalRRuleActionDto.php +++ b/lib/Model/SignalRRuleActionDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/SimulatedRuleEventDto.php b/lib/Model/SimulatedRuleEventDto.php index fa97f1c..380dadc 100644 --- a/lib/Model/SimulatedRuleEventDto.php +++ b/lib/Model/SimulatedRuleEventDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/SimulatedRuleEventsDto.php b/lib/Model/SimulatedRuleEventsDto.php index 310dc57..294e09f 100644 --- a/lib/Model/SimulatedRuleEventsDto.php +++ b/lib/Model/SimulatedRuleEventsDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/SkipReason.php b/lib/Model/SkipReason.php index cbc7b93..64e0b1a 100644 --- a/lib/Model/SkipReason.php +++ b/lib/Model/SkipReason.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/SlackRuleActionDto.php b/lib/Model/SlackRuleActionDto.php index e90af00..794a867 100644 --- a/lib/Model/SlackRuleActionDto.php +++ b/lib/Model/SlackRuleActionDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/SortNode.php b/lib/Model/SortNode.php index 5634d22..23397e3 100644 --- a/lib/Model/SortNode.php +++ b/lib/Model/SortNode.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/SortOrder.php b/lib/Model/SortOrder.php index 06cb54e..8765c12 100644 --- a/lib/Model/SortOrder.php +++ b/lib/Model/SortOrder.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/StatusInfoDto.php b/lib/Model/StatusInfoDto.php index 379438b..3fccc5e 100644 --- a/lib/Model/StatusInfoDto.php +++ b/lib/Model/StatusInfoDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/StorageUsagePerDateDto.php b/lib/Model/StorageUsagePerDateDto.php index 1bbc9e4..0400d58 100644 --- a/lib/Model/StorageUsagePerDateDto.php +++ b/lib/Model/StorageUsagePerDateDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/StringContentType.php b/lib/Model/StringContentType.php index 60a9f02..3adec61 100644 --- a/lib/Model/StringContentType.php +++ b/lib/Model/StringContentType.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/StringFieldEditor.php b/lib/Model/StringFieldEditor.php index c9d4839..1d40b75 100644 --- a/lib/Model/StringFieldEditor.php +++ b/lib/Model/StringFieldEditor.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/StringFieldPropertiesDto.php b/lib/Model/StringFieldPropertiesDto.php index 7a83401..5584b57 100644 --- a/lib/Model/StringFieldPropertiesDto.php +++ b/lib/Model/StringFieldPropertiesDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/SynchronizeSchemaDto.php b/lib/Model/SynchronizeSchemaDto.php index ee98515..bc9af70 100644 --- a/lib/Model/SynchronizeSchemaDto.php +++ b/lib/Model/SynchronizeSchemaDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/TagsFieldEditor.php b/lib/Model/TagsFieldEditor.php index eb24149..e63234d 100644 --- a/lib/Model/TagsFieldEditor.php +++ b/lib/Model/TagsFieldEditor.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/TagsFieldPropertiesDto.php b/lib/Model/TagsFieldPropertiesDto.php index 8144ccf..8700eb4 100644 --- a/lib/Model/TagsFieldPropertiesDto.php +++ b/lib/Model/TagsFieldPropertiesDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/TeamDto.php b/lib/Model/TeamDto.php index 71330eb..6f0a0e0 100644 --- a/lib/Model/TeamDto.php +++ b/lib/Model/TeamDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/TemplateDetailsDto.php b/lib/Model/TemplateDetailsDto.php index 98c07b8..4b5e1e2 100644 --- a/lib/Model/TemplateDetailsDto.php +++ b/lib/Model/TemplateDetailsDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/TemplateDto.php b/lib/Model/TemplateDto.php index 7a3413f..014be81 100644 --- a/lib/Model/TemplateDto.php +++ b/lib/Model/TemplateDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/TemplatesDto.php b/lib/Model/TemplatesDto.php index a55eec5..7da1477 100644 --- a/lib/Model/TemplatesDto.php +++ b/lib/Model/TemplatesDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/TransferToTeamDto.php b/lib/Model/TransferToTeamDto.php index aca58fc..7f5f99d 100644 --- a/lib/Model/TransferToTeamDto.php +++ b/lib/Model/TransferToTeamDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/TranslateDto.php b/lib/Model/TranslateDto.php index f9106d0..6c8b404 100644 --- a/lib/Model/TranslateDto.php +++ b/lib/Model/TranslateDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/TranslationDto.php b/lib/Model/TranslationDto.php index 8da07d5..d86f77b 100644 --- a/lib/Model/TranslationDto.php +++ b/lib/Model/TranslationDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/TranslationStatus.php b/lib/Model/TranslationStatus.php index ea86a99..8f7246b 100644 --- a/lib/Model/TranslationStatus.php +++ b/lib/Model/TranslationStatus.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/TweetRuleActionDto.php b/lib/Model/TweetRuleActionDto.php index 8cd3cae..dbc37bc 100644 --- a/lib/Model/TweetRuleActionDto.php +++ b/lib/Model/TweetRuleActionDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/TypesenseRuleActionDto.php b/lib/Model/TypesenseRuleActionDto.php index 25c0806..52f2e09 100644 --- a/lib/Model/TypesenseRuleActionDto.php +++ b/lib/Model/TypesenseRuleActionDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/UIFieldEditor.php b/lib/Model/UIFieldEditor.php index 234415c..7118fc9 100644 --- a/lib/Model/UIFieldEditor.php +++ b/lib/Model/UIFieldEditor.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/UIFieldPropertiesDto.php b/lib/Model/UIFieldPropertiesDto.php index 1b93511..8b7ef27 100644 --- a/lib/Model/UIFieldPropertiesDto.php +++ b/lib/Model/UIFieldPropertiesDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/UpdateAppDto.php b/lib/Model/UpdateAppDto.php index 86b930c..650e076 100644 --- a/lib/Model/UpdateAppDto.php +++ b/lib/Model/UpdateAppDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/UpdateAppSettingsDto.php b/lib/Model/UpdateAppSettingsDto.php index ca7c172..68a6c84 100644 --- a/lib/Model/UpdateAppSettingsDto.php +++ b/lib/Model/UpdateAppSettingsDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/UpdateAssetScriptsDto.php b/lib/Model/UpdateAssetScriptsDto.php index 8f3e8b9..c6b7562 100644 --- a/lib/Model/UpdateAssetScriptsDto.php +++ b/lib/Model/UpdateAssetScriptsDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/UpdateClientDto.php b/lib/Model/UpdateClientDto.php index 99302e1..4eb6506 100644 --- a/lib/Model/UpdateClientDto.php +++ b/lib/Model/UpdateClientDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/UpdateFieldDto.php b/lib/Model/UpdateFieldDto.php index e556b4f..146240c 100644 --- a/lib/Model/UpdateFieldDto.php +++ b/lib/Model/UpdateFieldDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/UpdateLanguageDto.php b/lib/Model/UpdateLanguageDto.php index 38cf1fa..f762700 100644 --- a/lib/Model/UpdateLanguageDto.php +++ b/lib/Model/UpdateLanguageDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/UpdateProfileDto.php b/lib/Model/UpdateProfileDto.php index 69df8b6..7cc53f2 100644 --- a/lib/Model/UpdateProfileDto.php +++ b/lib/Model/UpdateProfileDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/UpdateRoleDto.php b/lib/Model/UpdateRoleDto.php index 0b3e82c..cc9bf6a 100644 --- a/lib/Model/UpdateRoleDto.php +++ b/lib/Model/UpdateRoleDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/UpdateRuleDto.php b/lib/Model/UpdateRuleDto.php index 36e5f62..757fae0 100644 --- a/lib/Model/UpdateRuleDto.php +++ b/lib/Model/UpdateRuleDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/UpdateSchemaDto.php b/lib/Model/UpdateSchemaDto.php index d036537..42a28c3 100644 --- a/lib/Model/UpdateSchemaDto.php +++ b/lib/Model/UpdateSchemaDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/UpdateSettingDto.php b/lib/Model/UpdateSettingDto.php index dba72db..e7a3557 100644 --- a/lib/Model/UpdateSettingDto.php +++ b/lib/Model/UpdateSettingDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/UpdateTeamDto.php b/lib/Model/UpdateTeamDto.php index 7b266d2..f86b9de 100644 --- a/lib/Model/UpdateTeamDto.php +++ b/lib/Model/UpdateTeamDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/UpdateUserDto.php b/lib/Model/UpdateUserDto.php index bab0750..97f8ee3 100644 --- a/lib/Model/UpdateUserDto.php +++ b/lib/Model/UpdateUserDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/UpdateWorkflowDto.php b/lib/Model/UpdateWorkflowDto.php index fa28a92..a769a66 100644 --- a/lib/Model/UpdateWorkflowDto.php +++ b/lib/Model/UpdateWorkflowDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/UpsertSchemaDto.php b/lib/Model/UpsertSchemaDto.php index d722c57..e770177 100644 --- a/lib/Model/UpsertSchemaDto.php +++ b/lib/Model/UpsertSchemaDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/UpsertSchemaFieldDto.php b/lib/Model/UpsertSchemaFieldDto.php index ea9179b..3cefea7 100644 --- a/lib/Model/UpsertSchemaFieldDto.php +++ b/lib/Model/UpsertSchemaFieldDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/UpsertSchemaNestedFieldDto.php b/lib/Model/UpsertSchemaNestedFieldDto.php index ee8182b..49ea194 100644 --- a/lib/Model/UpsertSchemaNestedFieldDto.php +++ b/lib/Model/UpsertSchemaNestedFieldDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/UsageRuleTriggerDto.php b/lib/Model/UsageRuleTriggerDto.php index bc31321..fbe4552 100644 --- a/lib/Model/UsageRuleTriggerDto.php +++ b/lib/Model/UsageRuleTriggerDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/UserDto.php b/lib/Model/UserDto.php index 81924e0..5c4542f 100644 --- a/lib/Model/UserDto.php +++ b/lib/Model/UserDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/UserProperty.php b/lib/Model/UserProperty.php index a5b68cf..c51862d 100644 --- a/lib/Model/UserProperty.php +++ b/lib/Model/UserProperty.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/UsersDto.php b/lib/Model/UsersDto.php index a6841ac..944aaae 100644 --- a/lib/Model/UsersDto.php +++ b/lib/Model/UsersDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/WebhookMethod.php b/lib/Model/WebhookMethod.php index c40cd96..da22a29 100644 --- a/lib/Model/WebhookMethod.php +++ b/lib/Model/WebhookMethod.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/WebhookRuleActionDto.php b/lib/Model/WebhookRuleActionDto.php index 56c3382..b940cf8 100644 --- a/lib/Model/WebhookRuleActionDto.php +++ b/lib/Model/WebhookRuleActionDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/WorkflowDto.php b/lib/Model/WorkflowDto.php index 6b281e8..3cd31a8 100644 --- a/lib/Model/WorkflowDto.php +++ b/lib/Model/WorkflowDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/WorkflowStepDto.php b/lib/Model/WorkflowStepDto.php index f22f575..f7398fe 100644 --- a/lib/Model/WorkflowStepDto.php +++ b/lib/Model/WorkflowStepDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/WorkflowTransitionDto.php b/lib/Model/WorkflowTransitionDto.php index 3ca578e..f7b66df 100644 --- a/lib/Model/WorkflowTransitionDto.php +++ b/lib/Model/WorkflowTransitionDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/Model/WorkflowsDto.php b/lib/Model/WorkflowsDto.php index b2ff192..55285da 100644 --- a/lib/Model/WorkflowsDto.php +++ b/lib/Model/WorkflowsDto.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** diff --git a/lib/ObjectSerializer.php b/lib/ObjectSerializer.php index 228cdf9..551c16d 100644 --- a/lib/ObjectSerializer.php +++ b/lib/ObjectSerializer.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.8.0 + * Generator version: 7.8.0 */ /** @@ -265,6 +265,11 @@ public static function toQueryValue( $value = $flattenArray($value, $paramName); + // https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values + if ($openApiType === 'array' && $style === 'deepObject' && $explode) { + return $value; + } + if ($openApiType === 'object' && ($style === 'deepObject' || $explode)) { return $value; } @@ -338,7 +343,7 @@ public static function toFormValue($value) * If it's a datetime object, format it in ISO8601 * If it's a boolean, convert it to "true" or "false". * - * @param string|bool|\DateTime $value the value of the parameter + * @param float|int|bool|\DateTime $value the value of the parameter * * @return string the header string */ @@ -396,7 +401,6 @@ public static function serializeCollection(array $collection, $style, $allowColl * @param mixed $data object or primitive to be deserialized * @param string $class class name is passed as a string * @param string[] $httpHeaders HTTP headers - * @param string $discriminator discriminator if polymorphism is used * * @return object|array|null a single or an array of $class instances */ @@ -473,7 +477,7 @@ public static function deserialize($data, $class, $httpHeaders = null) // determine file name if ( is_array($httpHeaders) - && array_key_exists('Content-Disposition', $httpHeaders) + && array_key_exists('Content-Disposition', $httpHeaders) && preg_match('/inline; filename=[\'"]?([^\'"\s]+)[\'"]?$/i', $httpHeaders['Content-Disposition'], $match) ) { $filename = Configuration::getDefaultConfiguration()->getTempFolderPath() . DIRECTORY_SEPARATOR . self::sanitizeFilename($match[1]); @@ -512,17 +516,10 @@ public static function deserialize($data, $class, $httpHeaders = null) // If a discriminator is defined and points to a valid subclass, use it. $discriminator = $class::DISCRIMINATOR; - if (!empty($discriminator)) { - $discriminatorProperty = $class::attributeMap()[$discriminator]; - - if (isset($data->{$discriminatorProperty}) && is_string($data->{$discriminatorProperty})) { - $discriminatorValue = $data->{$discriminatorProperty}; - $discriminatorType = $class::openAPIMAppings()[$discriminatorValue]; - - $subclass = '\Squidex\Client\Model\\' . $discriminatorType; - if (is_subclass_of($subclass, $class)) { - $class = $subclass; - } + if (!empty($discriminator) && isset($data->{$discriminator}) && is_string($data->{$discriminator})) { + $subclass = '\Squidex\Client\Model\\' . $data->{$discriminator}; + if (is_subclass_of($subclass, $class)) { + $class = $subclass; } } @@ -553,22 +550,64 @@ public static function deserialize($data, $class, $httpHeaders = null) } /** - * Native `http_build_query` wrapper. - * @see https://www.php.net/manual/en/function.http-build-query - * - * @param array|object $data May be an array or object containing properties. - * @param string $numeric_prefix If numeric indices are used in the base array and this parameter is provided, it will be prepended to the numeric index for elements in the base array only. - * @param string|null $arg_separator arg_separator.output is used to separate arguments but may be overridden by specifying this parameter. - * @param int $encoding_type Encoding type. By default, PHP_QUERY_RFC1738. - * - * @return string - */ - public static function buildQuery( - $data, - string $numeric_prefix = '', - ?string $arg_separator = null, - int $encoding_type = \PHP_QUERY_RFC3986 - ): string { - return \GuzzleHttp\Psr7\Query::build($data, $encoding_type); + * Build a query string from an array of key value pairs. + * + * This function can use the return value of `parse()` to build a query + * string. This function does not modify the provided keys when an array is + * encountered (like `http_build_query()` would). + * + * The function is copied from https://github.com/guzzle/psr7/blob/a243f80a1ca7fe8ceed4deee17f12c1930efe662/src/Query.php#L59-L112 + * with a modification which is described in https://github.com/guzzle/psr7/pull/603 + * + * @param array $params Query string parameters. + * @param int|false $encoding Set to false to not encode, PHP_QUERY_RFC3986 + * to encode using RFC3986, or PHP_QUERY_RFC1738 + * to encode using RFC1738. + */ + public static function buildQuery(array $params, $encoding = PHP_QUERY_RFC3986): string + { + if (!$params) { + return ''; + } + + if ($encoding === false) { + $encoder = function (string $str): string { + return $str; + }; + } elseif ($encoding === PHP_QUERY_RFC3986) { + $encoder = 'rawurlencode'; + } elseif ($encoding === PHP_QUERY_RFC1738) { + $encoder = 'urlencode'; + } else { + throw new \InvalidArgumentException('Invalid type'); + } + + $castBool = Configuration::BOOLEAN_FORMAT_INT == Configuration::getDefaultConfiguration()->getBooleanFormatForQueryString() + ? function ($v) { return (int) $v; } + : function ($v) { return $v ? 'true' : 'false'; }; + + $qs = ''; + foreach ($params as $k => $v) { + $k = $encoder((string) $k); + if (!is_array($v)) { + $qs .= $k; + $v = is_bool($v) ? $castBool($v) : $v; + if ($v !== null) { + $qs .= '='.$encoder((string) $v); + } + $qs .= '&'; + } else { + foreach ($v as $vv) { + $qs .= $k; + $vv = is_bool($vv) ? $castBool($vv) : $vv; + if ($vv !== null) { + $qs .= '='.$encoder((string) $vv); + } + $qs .= '&'; + } + } + } + + return $qs ? (string) substr($qs, 0, -1) : ''; } } diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 00d883b..485899a 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,9 +1,15 @@ - - + + + + ./lib/Api + ./lib/Model + + - ./tests + ./test/Api + ./test/Model diff --git a/templates/ApiException.mustache b/templates/ApiException.mustache deleted file mode 100644 index e9d6544..0000000 --- a/templates/ApiException.mustache +++ /dev/null @@ -1,110 +0,0 @@ -partial_header}} -/** - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -namespace {{invokerPackage}}; - -use \Exception; - -/** - * ApiException Class Doc Comment - * - * @category Class - * @package {{invokerPackage}} - * @author OpenAPI Generator team - * @link https://openapi-generator.tech - */ -class ApiException extends Exception -{ - /** - * The HTTP body of the server response either as Json or string. - * - * @var \stdClass|string|null - */ - protected $responseBody; - - /** - * The HTTP header of the server response. - * - * @var string[]|null - */ - protected $responseHeaders; - - /** - * The deserialized response object - * - * @var \stdClass|string|null - */ - protected $responseObject; - - /** - * Constructor - * - * @param string $message Error message - * @param int $code HTTP status code - * @param string[]|null $responseHeaders HTTP response header - * @param \stdClass|string|null $responseBody HTTP decoded body of the server response either as \stdClass or string - */ - public function __construct($message = "", $code = 0, $responseHeaders = [], $responseBody = null) - { - parent::__construct($message, $code); - $this->responseHeaders = $responseHeaders; - $this->responseBody = $responseBody; - } - - /** - * Gets the HTTP response header - * - * @return string[]|null HTTP response header - */ - public function getResponseHeaders() - { - return $this->responseHeaders; - } - - /** - * Gets the HTTP body of the server response either as Json or string - * - * @return \stdClass|string|null HTTP body of the server response either as \stdClass or string - */ - public function getResponseBody() - { - return $this->responseBody; - } - - /** - * Sets the deserialized response object (during deserialization) - * - * @param mixed $obj Deserialized response object - * - * @return void - */ - public function setResponseObject($obj) - { - $this->responseObject = $obj; - } - - /** - * Gets the deserialized response object (during deserialization) - * - * @return mixed the deserialized response object - */ - public function getResponseObject() - { - return $this->responseObject; - } -} diff --git a/templates/Configuration.mustache b/templates/Configuration.mustache deleted file mode 100644 index ccaf2c6..0000000 --- a/templates/Configuration.mustache +++ /dev/null @@ -1,594 +0,0 @@ -partial_header}} -/** - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -namespace {{invokerPackage}}; - -use Squidex\Client\SquidexInMemoryTokenStore; - -/** - * Configuration Class Doc Comment - * PHP version 7.4 - * - * @category Class - * @package {{invokerPackage}} - * @author OpenAPI Generator team - * @link https://openapi-generator.tech - */ -class Configuration -{ - public const BOOLEAN_FORMAT_INT = 'int'; - public const BOOLEAN_FORMAT_STRING = 'string'; - - /** - * @var Configuration - */ - private static $defaultConfiguration; - - /** - * Client ID for OAuth/Bearer authentication - * - * @var string - */ - protected $clientId = ''; - - /** - * Client Secret for OAuth/Bearer authentication - * - * @var string - */ - protected $clientSecret = ''; - - /** - * App Name - * - * @var string - */ - protected $appName = ''; - - /** - * Boolean format for query string - * - * @var string - */ - protected $booleanFormatForQueryString = self::BOOLEAN_FORMAT_STRING; - - /** - * The host - * - * @var string - */ - protected $host = '{{basePath}}'; - - /** - * The timeout in seconds - * - * @var float - */ - protected $timeout = 30.0; - - /** - * The token store. - * - * @var SquidexTokenStore - */ - protected $tokenStore = null; - - /** - * User agent of the HTTP request, set to "OpenAPI-Generator/{version}/PHP" by default - * - * @var string - */ - protected $userAgent = '{{{httpUserAgent}}}{{^httpUserAgent}}OpenAPI-Generator/{{{artifactVersion}}}{{^artifactVersion}}1.0.0{{/artifactVersion}}/PHP{{/httpUserAgent}}'; - - /** - * Ignore the validation of certificates. - * - * @var boolean - */ - protected $ignoreCertificates = false; - - /** - * Debug switch (default set to false) - * - * @var bool - */ - protected $debug = false; - - /** - * Debug file location (log to STDOUT by default) - * - * @var string - */ - protected $debugFile = 'php://output'; - - /** - * Debug file location (log to STDOUT by default) - * - * @var string - */ - protected $tempFolderPath; - - /** - * Constructor - */ - public function __construct() - { - $this->tokenStore = new SquidexInMemoryTokenStore(); - $this->tempFolderPath = sys_get_temp_dir(); - } - - /** - * Sets the client ID for OAuth - * - * @param string $clientId Token for OAuth - * - * @return $this - */ - public function setClientId($clientId) - { - if (!is_string($clientId)) { - throw new \InvalidArgumentException('Client ID must be a string.'); - } - - $this->clientId = $clientId; - return $this; - } - - /** - * Gets the client ID for OAuth - * - * @return string client ID for OAuth - */ - public function getClientId() - { - return $this->clientId; - } - - /** - * Sets the client secret for OAuth - * - * @param string $clientSecret Token for OAuth - * - * @return $this - */ - public function setClientSecret($clientSecret) - { - if (!is_string($clientSecret)) { - throw new \InvalidArgumentException('Client Secret must be a string.'); - } - - $this->clientSecret = $clientSecret; - return $this; - } - - /** - * Gets the client secret for OAuth - * - * @return string client secret for OAuth - */ - public function getClientSecret() - { - return $this->clientSecret; - } - - /** - * Set the flag to the validation of certificates. - * - * @param boolean $ignoreCertificates Certificate flag. - * - * @return $this - */ - public function setIgnoreCertificates($ignoreCertificates) - { - $this->ignoreCertificates = $ignoreCertificates; - return $this; - } - - /** - * Get the flag to the validation of certificates. - * - * @return boolean Certificate flag. - */ - public function getIgnoreCertificates() { - return $this->ignoreCertificates; - } - - /** - * Sets the app name. - * - * @param string $appName - * - * @return $this - */ - public function setAppName($appName) - { - if (!is_string($appName)) { - throw new \InvalidArgumentException('App Name must be a string.'); - } - - $this->appName = $appName; - return $this; - } - - /** - * Gets the app name. - * - * @return string App name - */ - public function getAppName() - { - return $this->appName; - } - - /** - * Sets boolean format for query string. - * - * @param string $booleanFormatForQueryString Boolean format for query string - * - * @return $this - */ - public function setBooleanFormatForQueryString(string $booleanFormat) - { - $this->booleanFormatForQueryString = $booleanFormat; - return $this; - } - - /** - * Gets boolean format for query string. - * - * @return string Boolean format for query string - */ - public function getBooleanFormatForQueryString(): string - { - return $this->booleanFormatForQueryString; - } - - /** - * Sets the host - * - * @param string $host Host - * - * @return $this - */ - public function setHost($host) - { - if (!is_string($host)) { - throw new \InvalidArgumentException('Host must be a string.'); - } - - $this->host = $host; - return $this; - } - - /** - * Gets the host - * - * @return string Host - */ - public function getHost() - { - return $this->host; - } - - /** - * Sets the timeout - * - * @param float $timeout Timeout in seconds - * - * @return $this - */ - public function setTimeout($timeout) - { - if (!is_float($timeout)) { - throw new \InvalidArgumentException('Timeout must be a float.'); - } - - $this->timeout = $timeout; - return $this; - } - - /** - * Gets the timeout - * - * @return float Timeout in seconds - */ - public function getTimeout() - { - return $this->timeout; - } - - /** - * Sets the token store - * - * @param SquidexTokentStore $timeout Timeout in seconds - * - * @return $this - */ - public function setTokenStore($tokenStore) - { - $this->tokenStore = $tokenStore; - return $this; - } - - /** - * Gets the token store - * - * @return SquidexTokentStore Token store - */ - public function getTokenStore() - { - return $this->tokenStore; - } - - /** - * Sets the user agent of the api client - * - * @param string $userAgent the user agent of the api client - * - * @throws \InvalidArgumentException - * @return $this - */ - public function setUserAgent($userAgent) - { - if (!is_string($userAgent)) { - throw new \InvalidArgumentException('User-agent must be a string.'); - } - - $this->userAgent = $userAgent; - return $this; - } - - /** - * Gets the user agent of the api client - * - * @return string user agent - */ - public function getUserAgent() - { - return $this->userAgent; - } - - /** - * Sets debug flag - * - * @param bool $debug Debug flag - * - * @return $this - */ - public function setDebug($debug) - { - $this->debug = $debug; - return $this; - } - - /** - * Gets the debug flag - * - * @return bool - */ - public function getDebug() - { - return $this->debug; - } - - /** - * Sets the debug file - * - * @param string $debugFile Debug file - * - * @return $this - */ - public function setDebugFile($debugFile) - { - $this->debugFile = $debugFile; - return $this; - } - - /** - * Gets the debug file - * - * @return string - */ - public function getDebugFile() - { - return $this->debugFile; - } - - /** - * Sets the temp folder path - * - * @param string $tempFolderPath Temp folder path - * - * @return $this - */ - public function setTempFolderPath($tempFolderPath) - { - $this->tempFolderPath = $tempFolderPath; - return $this; - } - - /** - * Gets the temp folder path - * - * @return string Temp folder path - */ - public function getTempFolderPath() - { - return $this->tempFolderPath; - } - - /** - * Validates the configuration. - */ - public function validate() - { - if (!is_float($this->timeout)) { - throw new \InvalidArgumentException('Timeout must be a float.'); - } - - if (!is_string($this->clientId) || empty($this->clientId)) { - throw new \InvalidArgumentException('Client ID must be a string.'); - } - - if (!is_string($this->clientSecret) || empty($this->clientSecret)) { - throw new \InvalidArgumentException('Client Secret must be a string.'); - } - - if (!is_string($this->appName) || empty($this->appName)) { - throw new \InvalidArgumentException('App Name must be a string.'); - } - - if (!isset($this->tokenStore)) { - throw new \InvalidArgumentException('Token store must be defined.'); - } - } - - /** - * Gets the default configuration instance - * - * @return Configuration - */ - public static function getDefaultConfiguration() - { - if (self::$defaultConfiguration === null) { - self::$defaultConfiguration = new Configuration(); - } - - return self::$defaultConfiguration; - } - - /** - * Sets the default configuration instance - * - * @param Configuration $config An instance of the Configuration Object - * - * @return void - */ - public static function setDefaultConfiguration(Configuration $config) - { - self::$defaultConfiguration = $config; - } - - /** - * Gets the essential information for debugging - * - * @return string The report for debugging - */ - public static function toDebugReport() - { - $report = 'PHP SDK ({{invokerPackage}}) Debug Report:' . PHP_EOL; - $report .= ' OS: ' . php_uname() . PHP_EOL; - $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; - $report .= ' The version of the OpenAPI document: {{version}}' . PHP_EOL; - {{#artifactVersion}} - $report .= ' SDK Package Version: {{.}}' . PHP_EOL; - {{/artifactVersion}} - $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; - - return $report; - } - - /** - * Returns an array of host settings - * - * @return array an array of host settings - */ - public function getHostSettings() - { - return [ - {{#servers}} - [ - "url" => "{{{url}}}", - "description" => "{{{description}}}{{^description}}No description provided{{/description}}", - {{#variables}} - {{#-first}} - "variables" => [ - {{/-first}} - "{{{name}}}" => [ - "description" => "{{{description}}}{{^description}}No description provided{{/description}}", - "default_value" => "{{{defaultValue}}}", - {{#enumValues}} - {{#-first}} - "enum_values" => [ - {{/-first}} - "{{{.}}}"{{^-last}},{{/-last}} - {{#-last}} - ] - {{/-last}} - {{/enumValues}} - ]{{^-last}},{{/-last}} - {{#-last}} - ] - {{/-last}} - {{/variables}} - ]{{^-last}},{{/-last}} - {{/servers}} - ]; - } - - /** - * Returns URL based on host settings, index and variables - * - * @param array $hostSettings array of host settings, generated from getHostSettings() or equivalent from the API clients - * @param int $hostIndex index of the host settings - * @param array|null $variables hash of variable and the corresponding value (optional) - * @return string URL based on host settings - */ - public static function getHostString(array $hostsSettings, $hostIndex, array $variables = null) - { - if (null === $variables) { - $variables = []; - } - - // check array index out of bound - if ($hostIndex < 0 || $hostIndex >= count($hostsSettings)) { - throw new \InvalidArgumentException("Invalid index $hostIndex when selecting the host. Must be less than ".count($hostsSettings)); - } - - $host = $hostsSettings[$hostIndex]; - $url = $host["url"]; - - // go through variable and assign a value - foreach ($host["variables"] ?? [] as $name => $variable) { - if (array_key_exists($name, $variables)) { // check to see if it's in the variables provided by the user - if (!isset($variable['enum_values']) || in_array($variables[$name], $variable["enum_values"], true)) { // check to see if the value is in the enum - $url = str_replace("{".$name."}", $variables[$name], $url); - } else { - throw new \InvalidArgumentException("The variable `$name` in the host URL has invalid value ".$variables[$name].". Must be ".join(',', $variable["enum_values"])."."); - } - } else { - // use default value - $url = str_replace("{".$name."}", $variable["default_value"], $url); - } - } - - return $url; - } - - /** - * Returns URL based on the index and variables - * - * @param int $index index of the host settings - * @param array|null $variables hash of variable and the corresponding value (optional) - * @return string URL based on host settings - */ - public function getHostFromSettings($index, $variables = null) - { - return self::getHostString($this->getHostSettings(), $index, $variables); - } -} diff --git a/templates/HeaderSelector.mustache b/templates/HeaderSelector.mustache deleted file mode 100644 index 1921b06..0000000 --- a/templates/HeaderSelector.mustache +++ /dev/null @@ -1,236 +0,0 @@ -partial_header}} -/** - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -namespace {{invokerPackage}}; - -/** - * HeaderSelector Class Doc Comment - * - * @category Class - * @package {{invokerPackage}} - * @author OpenAPI Generator team - * @link https://openapi-generator.tech - */ -class HeaderSelector -{ - /** - * @param string[] $accept - * @param string $contentType - * @param bool $isMultipart - * @return string[] - */ - public function selectHeaders(array $accept, string $contentType, bool $isMultipart): array - { - $headers = []; - - $accept = $this->selectAcceptHeader($accept); - if ($accept !== null) { - $headers['Accept'] = $accept; - } - - if (!$isMultipart) { - if($contentType === '') { - $contentType = 'application/json'; - } - - $headers['Content-Type'] = $contentType; - } - - return $headers; - } - - /** - * Return the header 'Accept' based on an array of Accept provided. - * - * @param string[] $accept Array of header - * - * @return null|string Accept (e.g. application/json) - */ - private function selectAcceptHeader(array $accept): ?string - { - # filter out empty entries - $accept = array_filter($accept); - - if (count($accept) === 0) { - return null; - } - - # If there's only one Accept header, just use it - if (count($accept) === 1) { - return reset($accept); - } - - # If none of the available Accept headers is of type "json", then just use all them - $headersWithJson = preg_grep('~(?i)^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$~', $accept); - if (count($headersWithJson) === 0) { - return implode(',', $accept); - } - - # If we got here, then we need add quality values (weight), as described in IETF RFC 9110, Items 12.4.2/12.5.1, - # to give the highest priority to json-like headers - recalculating the existing ones, if needed - return $this->getAcceptHeaderWithAdjustedWeight($accept, $headersWithJson); - } - - /** - * Create an Accept header string from the given "Accept" headers array, recalculating all weights - * - * @param string[] $accept Array of Accept Headers - * @param string[] $headersWithJson Array of Accept Headers of type "json" - * - * @return string "Accept" Header (e.g. "application/json, text/html; q=0.9") - */ - private function getAcceptHeaderWithAdjustedWeight(array $accept, array $headersWithJson): string - { - $processedHeaders = [ - 'withApplicationJson' => [], - 'withJson' => [], - 'withoutJson' => [], - ]; - - foreach ($accept as $header) { - - $headerData = $this->getHeaderAndWeight($header); - - if (stripos($headerData['header'], 'application/json') === 0) { - $processedHeaders['withApplicationJson'][] = $headerData; - } elseif (in_array($header, $headersWithJson, true)) { - $processedHeaders['withJson'][] = $headerData; - } else { - $processedHeaders['withoutJson'][] = $headerData; - } - } - - $acceptHeaders = []; - $currentWeight = 1000; - - $hasMoreThan28Headers = count($accept) > 28; - - foreach($processedHeaders as $headers) { - if (count($headers) > 0) { - $acceptHeaders[] = $this->adjustWeight($headers, $currentWeight, $hasMoreThan28Headers); - } - } - - $acceptHeaders = array_merge(...$acceptHeaders); - - return implode(',', $acceptHeaders); - } - - /** - * Given an Accept header, returns an associative array splitting the header and its weight - * - * @param string $header "Accept" Header - * - * @return array with the header and its weight - */ - private function getHeaderAndWeight(string $header): array - { - # matches headers with weight, splitting the header and the weight in $outputArray - if (preg_match('/(.*);\s*q=(1(?:\.0+)?|0\.\d+)$/', $header, $outputArray) === 1) { - $headerData = [ - 'header' => $outputArray[1], - 'weight' => (int)($outputArray[2] * 1000), - ]; - } else { - $headerData = [ - 'header' => trim($header), - 'weight' => 1000, - ]; - } - - return $headerData; - } - - /** - * @param array[] $headers - * @param float $currentWeight - * @param bool $hasMoreThan28Headers - * @return string[] array of adjusted "Accept" headers - */ - private function adjustWeight(array $headers, float &$currentWeight, bool $hasMoreThan28Headers): array - { - usort($headers, function (array $a, array $b) { - return $b['weight'] - $a['weight']; - }); - - $acceptHeaders = []; - foreach ($headers as $index => $header) { - if($index > 0 && $headers[$index - 1]['weight'] > $header['weight']) - { - $currentWeight = $this->getNextWeight($currentWeight, $hasMoreThan28Headers); - } - - $weight = $currentWeight; - - $acceptHeaders[] = $this->buildAcceptHeader($header['header'], $weight); - } - - $currentWeight = $this->getNextWeight($currentWeight, $hasMoreThan28Headers); - - return $acceptHeaders; - } - - /** - * @param string $header - * @param int $weight - * @return string - */ - private function buildAcceptHeader(string $header, int $weight): string - { - if($weight === 1000) { - return $header; - } - - return trim($header, '; ') . ';q=' . rtrim(sprintf('%0.3f', $weight / 1000), '0'); - } - - /** - * Calculate the next weight, based on the current one. - * - * If there are less than 28 "Accept" headers, the weights will be decreased by 1 on its highest significant digit, using the - * following formula: - * - * next weight = current weight - 10 ^ (floor(log(current weight - 1))) - * - * ( current weight minus ( 10 raised to the power of ( floor of (log to the base 10 of ( current weight minus 1 ) ) ) ) ) - * - * Starting from 1000, this generates the following series: - * - * 1000, 900, 800, 700, 600, 500, 400, 300, 200, 100, 90, 80, 70, 60, 50, 40, 30, 20, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 - * - * The resulting quality codes are closer to the average "normal" usage of them (like "q=0.9", "q=0.8" and so on), but it only works - * if there is a maximum of 28 "Accept" headers. If we have more than that (which is extremely unlikely), then we fall back to a 1-by-1 - * decrement rule, which will result in quality codes like "q=0.999", "q=0.998" etc. - * - * @param int $currentWeight varying from 1 to 1000 (will be divided by 1000 to build the quality value) - * @param bool $hasMoreThan28Headers - * @return int - */ - public function getNextWeight(int $currentWeight, bool $hasMoreThan28Headers): int - { - if ($currentWeight <= 1) { - return 1; - } - - if ($hasMoreThan28Headers) { - return $currentWeight - 1; - } - - return $currentWeight - 10 ** floor( log10($currentWeight - 1) ); - } -} diff --git a/templates/ModelInterface.mustache b/templates/ModelInterface.mustache deleted file mode 100644 index 805db43..0000000 --- a/templates/ModelInterface.mustache +++ /dev/null @@ -1,102 +0,0 @@ -partial_header}} -/** - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -namespace {{modelPackage}}; - -/** - * Interface abstracting model access. - * - * @package {{modelPackage}} - * @author OpenAPI Generator team - */ -interface ModelInterface -{ - /** - * The original name of the model. - * - * @return string - */ - public function getModelName(); - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function openAPITypes(); - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function openAPIFormats(); - - /** - * Array of attributes where the key is the local name, and the value is the original name - * - * @return array - */ - public static function attributeMap(); - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters(); - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters(); - - /** - * Show all the invalid properties with reasons. - * - * @return array - */ - public function listInvalidProperties(); - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool - */ - public function valid(); - - /** - * Checks if a property is nullable - * - * @param string $property - * @return bool - */ - public static function isNullable(string $property): bool; - - /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool - */ - public function isNullableSetToNull(string $property): bool; -} diff --git a/templates/ObjectSerializer.mustache b/templates/ObjectSerializer.mustache deleted file mode 100644 index 186a13a..0000000 --- a/templates/ObjectSerializer.mustache +++ /dev/null @@ -1,565 +0,0 @@ -partial_header}} -/** - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -namespace {{invokerPackage}}; - -use GuzzleHttp\Psr7\Utils; -use {{modelPackage}}\ModelInterface; - -/** - * ObjectSerializer Class Doc Comment - * - * @category Class - * @package {{invokerPackage}} - * @author OpenAPI Generator team - * @link https://openapi-generator.tech - */ -class ObjectSerializer -{ - /** @var string */ - private static $dateTimeFormat = \DateTime::ATOM; - - /** - * Change the date format - * - * @param string $format the new date format to use - */ - public static function setDateTimeFormat($format) - { - self::$dateTimeFormat = $format; - } - - /** - * Serialize data - * - * @param mixed $data the data to serialize - * @param string $type the OpenAPIToolsType of the data - * @param string $format the format of the OpenAPITools type of the data - * - * @return scalar|object|array|null serialized form of $data - */ - public static function sanitizeForSerialization($data, $type = null, $format = null) - { - if (is_scalar($data) || null === $data) { - return $data; - } - - if ($data instanceof \DateTime) { - return ($format === 'date') ? $data->format('Y-m-d') : $data->format(self::$dateTimeFormat); - } - - if (is_array($data)) { - foreach ($data as $property => $value) { - $data[$property] = self::sanitizeForSerialization($value); - } - return $data; - } - - if (is_object($data)) { - $values = []; - if ($data instanceof ModelInterface) { - $formats = $data::openAPIFormats(); - foreach ($data::openAPITypes() as $property => $openAPIType) { - $getter = $data::getters()[$property]; - $value = $data->$getter(); - if ($value !== null && !in_array($openAPIType, [{{&primitives}}], true)) { - $callable = [$openAPIType, 'getAllowableEnumValues']; - if (is_callable($callable)) { - /** array $callable */ - $allowedEnumTypes = $callable(); - if (!in_array($value, $allowedEnumTypes, true)) { - $imploded = implode("', '", $allowedEnumTypes); - throw new \InvalidArgumentException("Invalid value for enum '$openAPIType', must be one of: '$imploded'"); - } - } - } - if (($data::isNullable($property) && $data->isNullableSetToNull($property)) || $value !== null) { - $values[$data::attributeMap()[$property]] = self::sanitizeForSerialization($value, $openAPIType, $formats[$property]); - } - } - } else { - foreach($data as $property => $value) { - $values[$property] = self::sanitizeForSerialization($value); - } - } - return (object)$values; - } else { - return (string)$data; - } - } - - /** - * Sanitize filename by removing path. - * e.g. ../../sun.gif becomes sun.gif - * - * @param string $filename filename to be sanitized - * - * @return string the sanitized filename - */ - public static function sanitizeFilename($filename) - { - if (preg_match("/.*[\/\\\\](.*)$/", $filename, $match)) { - return $match[1]; - } else { - return $filename; - } - } - - /** - * Shorter timestamp microseconds to 6 digits length. - * - * @param string $timestamp Original timestamp - * - * @return string the shorten timestamp - */ - public static function sanitizeTimestamp($timestamp) - { - if (!is_string($timestamp)) return $timestamp; - - return preg_replace('/(:\d{2}.\d{6})\d*/', '$1', $timestamp); - } - - /** - * Take value and turn it into a string suitable for inclusion in - * the path, by url-encoding. - * - * @param string $value a string which will be part of the path - * - * @return string the serialized object - */ - public static function toPathValue($value) - { - return rawurlencode(self::toString($value)); - } - - /** - * Checks if a value is empty, based on its OpenAPI type. - * - * @param mixed $value - * @param string $openApiType - * - * @return bool true if $value is empty - */ - private static function isEmptyValue($value, string $openApiType): bool - { - # If empty() returns false, it is not empty regardless of its type. - if (!empty($value)) { - return false; - } - - # Null is always empty, as we cannot send a real "null" value in a query parameter. - if ($value === null) { - return true; - } - - switch ($openApiType) { - # For numeric values, false and '' are considered empty. - # This comparison is safe for floating point values, since the previous call to empty() will - # filter out values that don't match 0. - case 'int': - case 'integer': - return $value !== 0; - - case 'number': - case 'float': - return $value !== 0 && $value !== 0.0; - - # For boolean values, '' is considered empty - case 'bool': - case 'boolean': - return !in_array($value, [false, 0], true); - - # For all the other types, any value at this point can be considered empty. - default: - return true; - } - } - - /** - * Take query parameter properties and turn it into an array suitable for - * native http_build_query or GuzzleHttp\Psr7\Query::build. - * - * @param mixed $value Parameter value - * @param string $paramName Parameter name - * @param string $openApiType OpenAPIType eg. array or object - * @param string $style Parameter serialization style - * @param bool $explode Parameter explode option - * @param bool $required Whether query param is required or not - * - * @return array - */ - public static function toQueryValue( - $value, - string $paramName, - string $openApiType = 'string', - string $style = 'form', - bool $explode = true, - bool $required = true - ): array { - - # Check if we should omit this parameter from the query. This should only happen when: - # - Parameter is NOT required; AND - # - its value is set to a value that is equivalent to "empty", depending on its OpenAPI type. For - # example, 0 as "int" or "boolean" is NOT an empty value. - if (self::isEmptyValue($value, $openApiType)) { - if ($required) { - return ["{$paramName}" => '']; - } else { - return []; - } - } - - # Handle DateTime objects in query - if($openApiType === "\\DateTime" && $value instanceof \DateTime) { - return ["{$paramName}" => $value->format(self::$dateTimeFormat)]; - } - - $query = []; - $value = (in_array($openApiType, ['object', 'array'], true)) ? (array)$value : $value; - - // since \GuzzleHttp\Psr7\Query::build fails with nested arrays - // need to flatten array first - $flattenArray = function ($arr, $name, &$result = []) use (&$flattenArray, $style, $explode) { - if (!is_array($arr)) return $arr; - - foreach ($arr as $k => $v) { - $prop = ($style === 'deepObject') ? $prop = "{$name}[{$k}]" : $k; - - if (is_array($v)) { - $flattenArray($v, $prop, $result); - } else { - if ($style !== 'deepObject' && !$explode) { - // push key itself - $result[] = $prop; - } - $result[$prop] = $v; - } - } - return $result; - }; - - $value = $flattenArray($value, $paramName); - - if ($openApiType === 'object' && ($style === 'deepObject' || $explode)) { - return $value; - } - - if ('boolean' === $openApiType && is_bool($value)) { - $value = self::convertBoolToQueryStringFormat($value); - } - - // handle style in serializeCollection - $query[$paramName] = ($explode) ? $value : self::serializeCollection((array)$value, $style); - - return $query; - } - - /** - * Convert boolean value to format for query string. - * - * @param bool $value Boolean value - * - * @return int|string Boolean value in format - */ - public static function convertBoolToQueryStringFormat(bool $value) - { - if (Configuration::BOOLEAN_FORMAT_STRING == Configuration::getDefaultConfiguration()->getBooleanFormatForQueryString()) { - return $value ? 'true' : 'false'; - } - - return (int) $value; - } - - /** - * Take value and turn it into a string suitable for inclusion in - * the header. If it's a string, pass through unchanged - * If it's a datetime object, format it in ISO8601 - * - * @param string $value a string which will be part of the header - * - * @return string the header string - */ - public static function toHeaderValue($value) - { - $callable = [$value, 'toHeaderValue']; - if (is_callable($callable)) { - return $callable(); - } - - return self::toString($value); - } - - /** - * Take value and turn it into a string suitable for inclusion in - * the http body (form parameter). If it's a string, pass through unchanged - * If it's a datetime object, format it in ISO8601 - * - * @param string|\SplFileObject $value the value of the form parameter - * - * @return string the form string - */ - public static function toFormValue($value) - { - if ($value instanceof \SplFileObject) { - return $value->getRealPath(); - } else { - return self::toString($value); - } - } - - /** - * Take value and turn it into a string suitable for inclusion in - * the parameter. If it's a string, pass through unchanged - * If it's a datetime object, format it in ISO8601 - * If it's a boolean, convert it to "true" or "false". - * - * @param string|bool|\DateTime $value the value of the parameter - * - * @return string the header string - */ - public static function toString($value) - { - if ($value instanceof \DateTime) { // datetime in ISO8601 format - return $value->format(self::$dateTimeFormat); - } elseif (is_bool($value)) { - return $value ? 'true' : 'false'; - } else { - return (string) $value; - } - } - - /** - * Serialize an array to a string. - * - * @param array $collection collection to serialize to a string - * @param string $style the format use for serialization (csv, - * ssv, tsv, pipes, multi) - * @param bool $allowCollectionFormatMulti allow collection format to be a multidimensional array - * - * @return string - */ - public static function serializeCollection(array $collection, $style, $allowCollectionFormatMulti = false) - { - if ($allowCollectionFormatMulti && ('multi' === $style)) { - // http_build_query() almost does the job for us. We just - // need to fix the result of multidimensional arrays. - return preg_replace('/%5B[0-9]+%5D=/', '=', http_build_query($collection, '', '&')); - } - switch ($style) { - case 'pipeDelimited': - case 'pipes': - return implode('|', $collection); - - case 'tsv': - return implode("\t", $collection); - - case 'spaceDelimited': - case 'ssv': - return implode(' ', $collection); - - case 'simple': - case 'csv': - // Deliberate fall through. CSV is default format. - default: - return implode(',', $collection); - } - } - - /** - * Deserialize a JSON string into an object - * - * @param mixed $data object or primitive to be deserialized - * @param string $class class name is passed as a string - * @param string[] $httpHeaders HTTP headers - * @param string $discriminator discriminator if polymorphism is used - * - * @return object|array|null a single or an array of $class instances - */ - public static function deserialize($data, $class, $httpHeaders = null) - { - if (null === $data) { - return null; - } - - if (strcasecmp(substr($class, -2), '[]') === 0) { - $data = is_string($data) ? json_decode($data) : $data; - - if (!is_array($data)) { - throw new \InvalidArgumentException("Invalid array '$class'"); - } - - $subClass = substr($class, 0, -2); - $values = []; - foreach ($data as $key => $value) { - $values[] = self::deserialize($value, $subClass, null); - } - return $values; - } - - if (preg_match('/^(array<|map\[)/', $class)) { // for associative array e.g. array - $data = is_string($data) ? json_decode($data) : $data; - settype($data, 'array'); - $inner = substr($class, 4, -1); - $deserialized = []; - if (strrpos($inner, ",") !== false) { - $subClass_array = explode(',', $inner, 2); - $subClass = $subClass_array[1]; - foreach ($data as $key => $value) { - $deserialized[$key] = self::deserialize($value, $subClass, null); - } - } - return $deserialized; - } - - if ($class === 'object') { - settype($data, 'array'); - return $data; - } elseif ($class === 'mixed') { - settype($data, gettype($data)); - return $data; - } - - if ($class === '\DateTime') { - // Some APIs return an invalid, empty string as a - // date-time property. DateTime::__construct() will return - // the current time for empty input which is probably not - // what is meant. The invalid empty string is probably to - // be interpreted as a missing field/value. Let's handle - // this graceful. - if (!empty($data)) { - try { - return new \DateTime($data); - } catch (\Exception $exception) { - // Some APIs return a date-time with too high nanosecond - // precision for php's DateTime to handle. - // With provided regexp 6 digits of microseconds saved - return new \DateTime(self::sanitizeTimestamp($data)); - } - } else { - return null; - } - } - - if ($class === '\SplFileObject') { - $data = Utils::streamFor($data); - - /** @var \Psr\Http\Message\StreamInterface $data */ - - // determine file name - if ( - is_array($httpHeaders) - && array_key_exists('Content-Disposition', $httpHeaders) - && preg_match('/inline; filename=[\'"]?([^\'"\s]+)[\'"]?$/i', $httpHeaders['Content-Disposition'], $match) - ) { - $filename = Configuration::getDefaultConfiguration()->getTempFolderPath() . DIRECTORY_SEPARATOR . self::sanitizeFilename($match[1]); - } else { - $filename = tempnam(Configuration::getDefaultConfiguration()->getTempFolderPath(), ''); - } - - $file = fopen($filename, 'w'); - while ($chunk = $data->read(200)) { - fwrite($file, $chunk); - } - fclose($file); - - return new \SplFileObject($filename, 'r'); - } - - /** @psalm-suppress ParadoxicalCondition */ - if (in_array($class, [{{&primitives}}], true)) { - settype($data, $class); - return $data; - } - - - if (method_exists($class, 'getAllowableEnumValues')) { - if (!in_array($data, $class::getAllowableEnumValues(), true)) { - $imploded = implode("', '", $class::getAllowableEnumValues()); - throw new \InvalidArgumentException("Invalid value for enum '$class', must be one of: '$imploded'"); - } - return $data; - } else { - $data = is_string($data) ? json_decode($data) : $data; - - if (is_array($data)) { - $data = (object)$data; - } - - // If a discriminator is defined and points to a valid subclass, use it. - $discriminator = $class::DISCRIMINATOR; - if (!empty($discriminator)) { - $discriminatorProperty = $class::attributeMap()[$discriminator]; - - if (isset($data->{$discriminatorProperty}) && is_string($data->{$discriminatorProperty})) { - $discriminatorValue = $data->{$discriminatorProperty}; - $discriminatorType = $class::openAPIMAppings()[$discriminatorValue]; - - $subclass = '\{{invokerPackage}}\Model\\' . $discriminatorType; - if (is_subclass_of($subclass, $class)) { - $class = $subclass; - } - } - } - - /** @var ModelInterface $instance */ - $instance = new $class(); - foreach ($instance::openAPITypes() as $property => $type) { - $propertySetter = $instance::setters()[$property]; - - if (!isset($propertySetter)) { - continue; - } - - if (!isset($data->{$instance::attributeMap()[$property]})) { - if ($instance::isNullable($property)) { - $instance->$propertySetter(null); - } - - continue; - } - - if (isset($data->{$instance::attributeMap()[$property]})) { - $propertyValue = $data->{$instance::attributeMap()[$property]}; - $instance->$propertySetter(self::deserialize($propertyValue, $type, null)); - } - } - return $instance; - } - } - - /** - * Native `http_build_query` wrapper. - * @see https://www.php.net/manual/en/function.http-build-query - * - * @param array|object $data May be an array or object containing properties. - * @param string $numeric_prefix If numeric indices are used in the base array and this parameter is provided, it will be prepended to the numeric index for elements in the base array only. - * @param string|null $arg_separator arg_separator.output is used to separate arguments but may be overridden by specifying this parameter. - * @param int $encoding_type Encoding type. By default, PHP_QUERY_RFC1738. - * - * @return string - */ - public static function buildQuery( - $data, - string $numeric_prefix = '', - ?string $arg_separator = null, - int $encoding_type = \PHP_QUERY_RFC3986 - ): string { - return \GuzzleHttp\Psr7\Query::build($data, $encoding_type); - } -} diff --git a/templates/README.mustache b/templates/README.mustache deleted file mode 100644 index 20b4c3e..0000000 --- a/templates/README.mustache +++ /dev/null @@ -1,150 +0,0 @@ -# {{packageName}} - -{{#appDescriptionWithNewLines}} -{{{.}}} -{{/appDescriptionWithNewLines}} - -{{#infoUrl}} -For more information, please visit [{{{infoUrl}}}]({{{infoUrl}}}). -{{/infoUrl}} - -## Installation & Usage - -### Requirements - -PHP 7.4 and later. -Should also work with PHP 8.0. - -### Composer - -To install the bindings via [Composer](https://getcomposer.org/), add the following to `composer.json`: - -```json -{ - "repositories": [ - { - "type": "vcs", - "url": "https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}.git" - } - ], - "require": { - "{{gitUserId}}/{{gitRepoId}}": "*@dev" - } -} -``` - -Then run `composer install` - -### Manual Installation - -Download the files and include `autoload.php`: - -```php - php_doc_auth_partial}} -$apiInstance = new {{invokerPackage}}\Api\{{classname}}( - // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. - // This is optional, `GuzzleHttp\Client` will be used as default. - new GuzzleHttp\Client(){{#hasAuthMethods}}, - $config{{/hasAuthMethods}} -); -{{#allParams}}${{paramName}} = {{{example}}}; // {{{dataType}}}{{#description}} | {{{.}}}{{/description}} -{{/allParams}} - -try { - {{#returnType}}$result = {{/returnType}}$apiInstance->{{{operationId}}}({{#allParams}}${{paramName}}{{^-last}}, {{/-last}}{{/allParams}});{{#returnType}} - print_r($result);{{/returnType}} -} catch (Exception $e) { - echo 'Exception when calling {{classname}}->{{operationId}}: ', $e->getMessage(), PHP_EOL; -} -{{/-first}}{{/operation}}{{/operations}}{{/-first}}{{/apis}}{{/apiInfo}} -``` - -## API Endpoints - -All URIs are relative to *{{basePath}}* - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -{{#apiInfo}}{{#apis}}{{#operations}}{{#operation}}*{{classname}}* | [**{{operationId}}**]({{apiDocPath}}/{{classname}}.md#{{operationIdLowerCase}}) | **{{httpMethod}}** {{path}} | {{summary}} -{{/operation}}{{/operations}}{{/apis}}{{/apiInfo}} -## Models - -{{#models}}{{#model}}- [{{{classname}}}]({{modelDocPath}}/{{{classname}}}.md){{/model}} -{{/models}} - -## Authorization -{{^authMethods}}Endpoints do not require authorization.{{/authMethods}} -{{#hasAuthMethods}}Authentication schemes defined for the API:{{/hasAuthMethods}} -{{#authMethods}} -### {{{name}}} -{{#isApiKey}} - -- **Type**: API key -- **API key parameter name**: {{{keyParamName}}} -- **Location**: {{#isKeyInQuery}}URL query string{{/isKeyInQuery}}{{#isKeyInHeader}}HTTP header{{/isKeyInHeader}} - -{{/isApiKey}} -{{#isBasic}} -{{#isBasicBasic}} - -- **Type**: HTTP basic authentication -{{/isBasicBasic}} -{{#isBasicBearer}} - -- **Type**: Bearer authentication{{#bearerFormat}} ({{{.}}}){{/bearerFormat}} -{{/isBasicBearer}} -{{#isHttpSignature}} - -- **Type**: HTTP signature authentication -{{/isHttpSignature}} -{{/isBasic}} -{{#isOAuth}} - -- **Type**: `OAuth` -- **Flow**: `{{{flow}}}` -- **Authorization URL**: `{{{authorizationUrl}}}` -- **Scopes**: {{^scopes}}N/A{{/scopes}} -{{#scopes}} - - **{{{scope}}}**: {{{description}}} -{{/scopes}} -{{/isOAuth}} - -{{/authMethods}} -## Tests - -To run the tests, use: - -```bash -composer install -vendor/bin/phpunit -``` - -## Author - -{{#apiInfo}}{{#apis}}{{#-last}}{{infoEmail}} -{{/-last}}{{/apis}}{{/apiInfo}} -## About this package - -This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - -- API version: `{{appVersion}}` -{{#artifactVersion}} - - Package version: `{{.}}` -{{/artifactVersion}} -{{^hideGenerationTimestamp}} - - Build date: `{{generatedDate}}` -{{/hideGenerationTimestamp}} -- Build package: `{{generatorClass}}` diff --git a/templates/api_doc.mustache b/templates/api_doc.mustache deleted file mode 100644 index db04fa5..0000000 --- a/templates/api_doc.mustache +++ /dev/null @@ -1,104 +0,0 @@ -# {{invokerPackage}}\{{classname}}{{#description}} - -{{.}}{{/description}} - -All URIs are relative to {{basePath}}, except if the operation defines another base path. - -| Method | HTTP request | Description | -| ------------- | ------------- | ------------- | -{{#operations}}{{#operation}}| [**{{operationId}}()**]({{classname}}.md#{{operationId}}) | **{{httpMethod}}** {{path}} | {{summary}} | -{{/operation}}{{/operations}}{{#operations}}{{#operation}} - -## `{{{operationId}}}()` - -```php -{{{operationId}}}({{#allParams}}${{paramName}}{{^-last}}, {{/-last}}{{/allParams}}){{#returnType}}: {{{.}}}{{/returnType}} -``` -{{#servers}} -{{#-first}} -### URI(s): -{{/-first}} -- {{{url}}} {{#description}}{{.}}{{/description}}{{#variables}} -{{#-first}} - - Variables: -{{/-first}} - - {{{name}}}: {{{description}}}{{^description}} No description provided{{/description}}{{#enumValues}} -{{#-first}} - - Allowed values: -{{/-first}} - - {{{.}}}{{/enumValues}}{{#defaultValue}} - - Default value: {{{.}}} -{{/defaultValue}}{{/variables}}{{/servers}} -{{{summary}}}{{#notes}} - -{{{.}}}{{/notes}} - -### Example - -```php - php_doc_auth_partial}} -$apiInstance = new {{invokerPackage}}\Api\{{classname}}( - // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. - // This is optional, `GuzzleHttp\Client` will be used as default. - new GuzzleHttp\Client(){{#hasAuthMethods}}, - $config{{/hasAuthMethods}} -); -{{^vendorExtensions.x-group-parameters}} -{{#allParams}}${{paramName}} = {{{example}}}; // {{{dataType}}}{{#description}} | {{{.}}}{{/description}} -{{/allParams}}{{#servers}}{{#-first}} -$hostIndex = 0; -$variables = [{{#variables}} - '{{{name}}}' => '{{{default}}}{{^default}}YOUR_VALUE{{/default}}',{{/variables}} -]; -{{/-first}}{{/servers}}{{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-group-parameters}} -$associative_array = [ -{{#allParams}} '{{paramName}}' => {{{example}}}, // {{{dataType}}}{{#description}} | {{{.}}}{{/description}} -{{/allParams}} -{{#servers}}{{#-first}} - 'hostIndex' => 0, - $variables = [{{#variables}} - '{{{name}}}' => '{{{default}}}{{^default}}YOUR_VALUE{{/default}}',{{/variables}} - ], -{{/-first}}{{/servers}}]; -{{/vendorExtensions.x-group-parameters}} - -try { - {{#returnType}}$result = {{/returnType}}$apiInstance->{{{operationId}}}({{^vendorExtensions.x-group-parameters}}{{#allParams}}${{paramName}}{{^-last}}, {{/-last}}{{/allParams}}{{#servers}}{{#-first}}{{#allParams}}{{#-first}}, {{/-first}}{{/allParams}}$hostIndex, $variables{{/-first}}{{/servers}}{{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-group-parameters}}$associate_array{{/vendorExtensions.x-group-parameters}});{{#returnType}} - print_r($result);{{/returnType}} -} catch (Exception $e) { - echo 'Exception when calling {{classname}}->{{operationId}}: ', $e->getMessage(), PHP_EOL; -} -``` - -### Parameters - -{{#vendorExtensions.x-group-parameters}} -Note: the input parameter is an associative array with the keys listed as the parameter names below. - -{{/vendorExtensions.x-group-parameters}} -{{^allParams}}This endpoint does not need any parameter.{{/allParams}}{{#allParams}}{{#-last}}| Name | Type | Description | Notes | -| ------------- | ------------- | ------------- | ------------- |{{/-last}}{{/allParams}} -{{#allParams}}| **{{paramName}}** | {{#isFile}}**{{{dataType}}}**{{/isFile}}{{#isPrimitiveType}}**{{{dataType}}}**{{/isPrimitiveType}}{{^isPrimitiveType}}{{^isFile}}[**{{{dataType}}}**](../Model/{{baseType}}.md){{/isFile}}{{/isPrimitiveType}}| {{description}} |{{^required}} [optional]{{/required}}{{#defaultValue}} [default to {{.}}]{{/defaultValue}} | -{{/allParams}}{{#servers}}{{#-first}}| hostIndex | null|int | Host index. Defaults to null. If null, then the library will use $this->hostIndex instead | [optional] | -| variables | array | Associative array of variables to pass to the host. Defaults to empty array. | [optional] |{{/-first}} -{{/servers}} - -### Return type - -{{#returnType}}{{#returnTypeIsPrimitive}}**{{{returnType}}}**{{/returnTypeIsPrimitive}}{{^returnTypeIsPrimitive}}[**{{{returnType}}}**](../Model/{{returnBaseType}}.md){{/returnTypeIsPrimitive}}{{/returnType}}{{^returnType}}void (empty response body){{/returnType}} - -### Authorization - -{{^authMethods}}No authorization required{{/authMethods}}{{#authMethods}}[{{{name}}}](../../README.md#{{{name}}}){{^-last}}, {{/-last}}{{/authMethods}} - -### HTTP request headers - -- **Content-Type**: {{#consumes}}`{{{mediaType}}}`{{^-last}}, {{/-last}}{{/consumes}}{{^consumes}}Not defined{{/consumes}} -- **Accept**: {{#produces}}`{{{mediaType}}}`{{^-last}}, {{/-last}}{{/produces}}{{^produces}}Not defined{{/produces}} - -[[Back to top]](#) [[Back to API list]](../../README.md#endpoints) -[[Back to Model list]](../../README.md#models) -[[Back to README]](../../README.md){{/operation}}{{/operations}} diff --git a/templates/api_test.mustache b/templates/api_test.mustache deleted file mode 100644 index 86a534a..0000000 --- a/templates/api_test.mustache +++ /dev/null @@ -1,79 +0,0 @@ -partial_header}} -/** - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Please update the test case below to test the endpoint. - */ - -namespace {{invokerPackage}}\Test\Api; - -use \{{invokerPackage}}\Configuration; -use \{{invokerPackage}}\ApiException; -use \{{invokerPackage}}\ObjectSerializer; -use PHPUnit\Framework\TestCase; - -/** - * {{classname}}Test Class Doc Comment - * - * @category Class - * @package {{invokerPackage}} - * @author OpenAPI Generator team - * @link https://openapi-generator.tech - */ -{{#operations}}class {{classname}}Test extends TestCase -{ - - /** - * Setup before running any test cases - */ - public static function setUpBeforeClass(): void - { - } - - /** - * Setup before running each test case - */ - public function setUp(): void - { - } - - /** - * Clean up after running each test case - */ - public function tearDown(): void - { - } - - /** - * Clean up after running all test cases - */ - public static function tearDownAfterClass(): void - { - } - {{#operation}} - - /** - * Test case for {{{operationId}}} - * - * {{{summary}}}. - * - */ - public function test{{vendorExtensions.x-test-operation-id}}() - { - // TODO: implement - $this->markTestIncomplete('Not implemented'); - } - {{/operation}} -} -{{/operations}} diff --git a/templates/composer.mustache b/templates/composer.mustache deleted file mode 100644 index 0aa4bb6..0000000 --- a/templates/composer.mustache +++ /dev/null @@ -1,46 +0,0 @@ -{ - {{#composerPackageName}} - "name": "{{.}}", - {{/composerPackageName}} - {{#artifactVersion}} - "version": "{{.}}", - {{/artifactVersion}} - "description": "Client SDK for Squidex Headless CMS", - "keywords": [ - "openapitools", - "openapi-generator", - "openapi", - "php", - "sdk", - "rest", - "api", - "headless", - "headless-cms" - ], - "homepage": "https://github.com/squidex/sdk-php", - "license": "MIT", - "authors": [ - { - "name": "Squidex UG (haftungsbeschränkt)", - "homepage": "https://squidex.io" - } - ], - "require": { - "php": "^7.4 || ^8.0", - "ext-curl": "*", - "ext-json": "*", - "ext-mbstring": "*", - "guzzlehttp/guzzle": "^7.3", - "guzzlehttp/psr7": "^1.7 || ^2.0" - }, - "require-dev": { - "phpunit/phpunit": "^8.0 || ^9.0", - "friendsofphp/php-cs-fixer": "^3.5" - }, - "autoload": { - "psr-4": { "{{escapedInvokerPackage}}\\" : "{{srcBasePath}}/" } - }, - "autoload-dev": { - "psr-4": { "{{escapedInvokerPackage}}\\Test\\" : "tests/" } - } -} diff --git a/templates/git_push.sh.mustache b/templates/git_push.sh.mustache deleted file mode 100644 index 0e3776a..0000000 --- a/templates/git_push.sh.mustache +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/sh -# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ -# -# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com" - -git_user_id=$1 -git_repo_id=$2 -release_note=$3 -git_host=$4 - -if [ "$git_host" = "" ]; then - git_host="{{{gitHost}}}" - echo "[INFO] No command line input provided. Set \$git_host to $git_host" -fi - -if [ "$git_user_id" = "" ]; then - git_user_id="{{{gitUserId}}}" - echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" -fi - -if [ "$git_repo_id" = "" ]; then - git_repo_id="{{{gitRepoId}}}" - echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" -fi - -if [ "$release_note" = "" ]; then - release_note="{{{releaseNote}}}" - echo "[INFO] No command line input provided. Set \$release_note to $release_note" -fi - -# Initialize the local directory as a Git repository -git init - -# Adds the files in the local repository and stages them for commit. -git add . - -# Commits the tracked changes and prepares them to be pushed to a remote repository. -git commit -m "$release_note" - -# Sets the new remote -git_remote=$(git remote) -if [ "$git_remote" = "" ]; then # git remote not defined - - if [ "$GIT_TOKEN" = "" ]; then - echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." - git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git - else - git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git - fi - -fi - -git pull origin master - -# Pushes (Forces) the changes in the local repository up to the remote repository -echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git" -git push origin master 2>&1 | grep -v 'To https' diff --git a/templates/model.mustache b/templates/model.mustache deleted file mode 100644 index fe57ed7..0000000 --- a/templates/model.mustache +++ /dev/null @@ -1,46 +0,0 @@ -partial_header}} -/** - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -namespace {{modelPackage}}; -{{^isEnum}} -{{^parentSchema}} - -use \ArrayAccess; -{{/parentSchema}} -{{/isEnum}} -use \{{invokerPackage}}\ObjectSerializer; - -/** - * {{classname}} Class Doc Comment - * - * @category Class -{{#description}} - * @description {{.}} -{{/description}} - * @package {{invokerPackage}} - * @author OpenAPI Generator team - * @link https://openapi-generator.tech -{{^isEnum}} - * @implements \ArrayAccess -{{/isEnum}} - */ -{{#isEnum}}{{>model_enum}}{{/isEnum}}{{^isEnum}}{{>model_generic}}{{/isEnum}} -{{/model}}{{/models}} diff --git a/templates/model_doc.mustache b/templates/model_doc.mustache deleted file mode 100644 index 43b0ab6..0000000 --- a/templates/model_doc.mustache +++ /dev/null @@ -1,10 +0,0 @@ -# {{#models}}{{#model}}# {{classname}} - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -{{#vars}}**{{name}}** | {{#isPrimitiveType}}**{{{dataType}}}**{{/isPrimitiveType}}{{^isPrimitiveType}}[**{{{dataType}}}**]({{complexType}}.md){{/isPrimitiveType}} | {{description}} |{{^required}} [optional]{{/required}}{{#isReadOnly}} [readonly]{{/isReadOnly}}{{#defaultValue}} [default to {{{.}}}]{{/defaultValue}} -{{/vars}} - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md){{/model}}{{/models}} diff --git a/templates/model_enum.mustache b/templates/model_enum.mustache deleted file mode 100644 index 77001f2..0000000 --- a/templates/model_enum.mustache +++ /dev/null @@ -1,28 +0,0 @@ -class {{classname}} -{ - /** - * Possible values of this enum - */ - {{#allowableValues}} - {{#enumVars}} - public const {{^isString}}NUMBER_{{/isString}}{{{name}}} = {{{value}}}; - - {{/enumVars}} - {{/allowableValues}} - /** - * Gets allowable values of the enum - * @return string[] - */ - public static function getAllowableEnumValues() - { - return [ - {{#allowableValues}} - {{#enumVars}} - self::{{^isString}}NUMBER_{{/isString}}{{{name}}}{{^-last}}, - {{/-last}} - {{/enumVars}} - {{/allowableValues}} - - ]; - } -} diff --git a/templates/model_test.mustache b/templates/model_test.mustache deleted file mode 100644 index e9b0743..0000000 --- a/templates/model_test.mustache +++ /dev/null @@ -1,87 +0,0 @@ -partial_header}} -/** - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Please update the test case below to test the model. - */ - -namespace {{invokerPackage}}\Test\Model; - -use PHPUnit\Framework\TestCase; - -/** - * {{classname}}Test Class Doc Comment - * - * @category Class - * @description {{description}}{{^description}}{{classname}}{{/description}} - * @package {{invokerPackage}} - * @author OpenAPI Generator team - * @link https://openapi-generator.tech - */ -class {{classname}}Test extends TestCase -{ - - /** - * Setup before running any test case - */ - public static function setUpBeforeClass(): void - { - } - - /** - * Setup before running each test case - */ - public function setUp(): void - { - } - - /** - * Clean up after running each test case - */ - public function tearDown(): void - { - } - - /** - * Clean up after running all test cases - */ - public static function tearDownAfterClass(): void - { - } - - /** - * Test "{{classname}}" - */ - public function test{{classname}}() - { - // TODO: implement - $this->markTestIncomplete('Not implemented'); - } -{{#vars}} - - /** - * Test attribute "{{name}}" - */ - public function testProperty{{nameInCamelCase}}() - { - // TODO: implement - $this->markTestIncomplete('Not implemented'); - } -{{/vars}} -} -{{/model}} -{{/models}} diff --git a/templates/partial_header.mustache b/templates/partial_header.mustache deleted file mode 100644 index ef3530a..0000000 --- a/templates/partial_header.mustache +++ /dev/null @@ -1,18 +0,0 @@ -/** - {{#appName}} - * {{{.}}} - * - {{/appName}} - {{#appDescription}} - * {{{.}}} - * - {{/appDescription}} - {{#version}} - * The version of the OpenAPI document: {{{.}}} - {{/version}} - {{#infoEmail}} - * Contact: {{{.}}} - {{/infoEmail}} - * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: {{{generatorVersion}}} - */ diff --git a/templates/php_doc_auth_partial.mustache b/templates/php_doc_auth_partial.mustache deleted file mode 100644 index 2821506..0000000 --- a/templates/php_doc_auth_partial.mustache +++ /dev/null @@ -1,23 +0,0 @@ -{{#hasAuthMethods}}{{#authMethods}} -{{#isBasic}} -{{#isBasicBasic}} -// Configure HTTP basic authorization: {{{name}}} -$config = {{{invokerPackage}}}\Configuration::getDefaultConfiguration() - ->setUsername('YOUR_USERNAME') - ->setPassword('YOUR_PASSWORD'); -{{/isBasicBasic}} -{{#isBasicBearer}} -// Configure Bearer{{#bearerFormat}} ({{{.}}}){{/bearerFormat}} authorization: {{{name}}} -$config = {{{invokerPackage}}}\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -{{/isBasicBearer}} -{{/isBasic}} -{{#isApiKey}} -// Configure API key authorization: {{{name}}} -$config = {{{invokerPackage}}}\Configuration::getDefaultConfiguration()->setApiKey('{{{keyParamName}}}', 'YOUR_API_KEY'); -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// $config = {{{invokerPackage}}}\Configuration::getDefaultConfiguration()->setApiKeyPrefix('{{{keyParamName}}}', 'Bearer'); -{{/isApiKey}} -{{#isOAuth}} -// Configure OAuth2 access token for authorization: {{{name}}} -$config = {{{invokerPackage}}}\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -{{/isOAuth}}{{/authMethods}}{{/hasAuthMethods}} diff --git a/templates/phpunit.xml.mustache b/templates/phpunit.xml.mustache deleted file mode 100644 index 00d883b..0000000 --- a/templates/phpunit.xml.mustache +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - ./tests - - - - - -