Skip to content

Commit

Permalink
HOST to URL.
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianStehle committed Sep 1, 2024
1 parent 9f440f1 commit 150fd96
Show file tree
Hide file tree
Showing 28 changed files with 224 additions and 224 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ $config = new Configuration();
$config->setClientId('client-id');
$config->setClientSecret('client-secret');
$config->setAppName('my-app');
// $config->setHost('https://your.squidex-deployment');
// $config->setUrl('https://your.squidex-deployment');

$client = new SquidexClient($config);

Expand Down
70 changes: 35 additions & 35 deletions lib/Api/AppsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ public function getAssetScriptsRequest(string $contentType = self::contentTypes[
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'GET',
Expand Down Expand Up @@ -837,7 +837,7 @@ public function putAssetScriptsRequest($update_asset_scripts_dto, string $conten
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'PUT',
Expand Down Expand Up @@ -1172,7 +1172,7 @@ public function deleteClientRequest($id, string $contentType = self::contentType
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'DELETE',
Expand Down Expand Up @@ -1464,7 +1464,7 @@ public function getClientsRequest(string $contentType = self::contentTypes['getC
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'GET',
Expand Down Expand Up @@ -1798,7 +1798,7 @@ public function postClientRequest($create_client_dto, string $contentType = self
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'POST',
Expand Down Expand Up @@ -2152,7 +2152,7 @@ public function putClientRequest($id, $update_client_dto, string $contentType =
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'PUT',
Expand Down Expand Up @@ -2487,7 +2487,7 @@ public function deleteContributorRequest($id, string $contentType = self::conten
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'DELETE',
Expand Down Expand Up @@ -2802,7 +2802,7 @@ public function deleteMyselfRequest(string $contentType = self::contentTypes['de
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'DELETE',
Expand Down Expand Up @@ -3094,7 +3094,7 @@ public function getContributorsRequest(string $contentType = self::contentTypes[
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'GET',
Expand Down Expand Up @@ -3428,7 +3428,7 @@ public function postContributorRequest($assign_contributor_dto, string $contentT
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'POST',
Expand Down Expand Up @@ -3720,7 +3720,7 @@ public function getImageRequest(string $contentType = self::contentTypes['getIma
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'GET',
Expand Down Expand Up @@ -4055,7 +4055,7 @@ public function deleteLanguageRequest($language, string $contentType = self::con
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'DELETE',
Expand Down Expand Up @@ -4347,7 +4347,7 @@ public function getLanguagesRequest(string $contentType = self::contentTypes['ge
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'GET',
Expand Down Expand Up @@ -4681,7 +4681,7 @@ public function postLanguageRequest($add_language_dto, string $contentType = sel
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'POST',
Expand Down Expand Up @@ -5035,7 +5035,7 @@ public function putLanguageRequest($language, $update_language_dto, string $cont
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'PUT',
Expand Down Expand Up @@ -5370,7 +5370,7 @@ public function deleteRoleRequest($role_name, string $contentType = self::conten
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'DELETE',
Expand Down Expand Up @@ -5662,7 +5662,7 @@ public function getPermissionsRequest(string $contentType = self::contentTypes['
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'GET',
Expand Down Expand Up @@ -5954,7 +5954,7 @@ public function getRolesRequest(string $contentType = self::contentTypes['getRol
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'GET',
Expand Down Expand Up @@ -6288,7 +6288,7 @@ public function postRoleRequest($add_role_dto, string $contentType = self::conte
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'POST',
Expand Down Expand Up @@ -6642,7 +6642,7 @@ public function putRoleRequest($role_name, $update_role_dto, string $contentType
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'PUT',
Expand Down Expand Up @@ -6934,7 +6934,7 @@ public function getSettingsRequest(string $contentType = self::contentTypes['get
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'GET',
Expand Down Expand Up @@ -7268,7 +7268,7 @@ public function putSettingsRequest($update_app_settings_dto, string $contentType
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'PUT',
Expand Down Expand Up @@ -7603,7 +7603,7 @@ public function deleteWorkflowRequest($id, string $contentType = self::contentTy
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'DELETE',
Expand Down Expand Up @@ -7895,7 +7895,7 @@ public function getWorkflowsRequest(string $contentType = self::contentTypes['ge
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'GET',
Expand Down Expand Up @@ -8229,7 +8229,7 @@ public function postWorkflowRequest($add_workflow_dto, string $contentType = sel
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'POST',
Expand Down Expand Up @@ -8583,7 +8583,7 @@ public function putWorkflowRequest($id, $update_workflow_dto, string $contentTyp
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'PUT',
Expand Down Expand Up @@ -8814,7 +8814,7 @@ public function deleteAppRequest(string $contentType = self::contentTypes['delet
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'DELETE',
Expand Down Expand Up @@ -9129,7 +9129,7 @@ public function deleteImageRequest(string $contentType = self::contentTypes['del
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'DELETE',
Expand Down Expand Up @@ -9421,7 +9421,7 @@ public function getAppRequest(string $contentType = self::contentTypes['getApp']
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'GET',
Expand Down Expand Up @@ -9713,7 +9713,7 @@ public function getAppsRequest(string $contentType = self::contentTypes['getApps
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'GET',
Expand Down Expand Up @@ -10025,7 +10025,7 @@ public function getTeamAppsRequest($team, string $contentType = self::contentTyp
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'GET',
Expand Down Expand Up @@ -10382,7 +10382,7 @@ public function postAppRequest($create_app_dto, string $contentType = self::cont
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'POST',
Expand Down Expand Up @@ -10716,7 +10716,7 @@ public function putAppRequest($update_app_dto, string $contentType = self::conte
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'PUT',
Expand Down Expand Up @@ -11050,7 +11050,7 @@ public function putAppTeamRequest($transfer_to_team_dto, string $contentType = s
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'PUT',
Expand Down Expand Up @@ -11403,7 +11403,7 @@ public function uploadImageRequest($file = null, $url = null, $name = null, stri
$headers
);

$operationHost = $this->config->getHost();
$operationHost = $this->config->getUrl();
$query = ObjectSerializer::buildQuery($queryParams);
return new Request(
'POST',
Expand Down
Loading

0 comments on commit 150fd96

Please sign in to comment.