@@ -323,12 +323,9 @@ public function callAsync(string $call, array $params = array())
323
323
}
324
324
$arguments['s'] = $params['s'];
325
325
unset($params['s']);
326
- if (\array_key_exists(Hydrator\Operation\Octocat::class, $this->hydrator) == false) {
327
- $this->hydrator[Hydrator\Operation\Octocat::class] = $this->hydrators->getObjectMapperOperation🌀Octocat();
328
- }
329
- $operation = new Operation\Meta\GetOctocat($this->responseSchemaValidator, $this->hydrator[Hydrator\Operation\Octocat::class], $arguments['s']);
326
+ $operation = new Operation\Meta\GetOctocat($arguments['s']);
330
327
$request = $operation->createRequest($params);
331
- return $this->browser->request($request->getMethod(), (string) $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), (string) $request->getBody())->then(function (\Psr\Http\Message\ResponseInterface $response) use($operation) : \ApiClients\Client\GitHubEnterpriseCloud\Schema\Operation\Meta\GetOctocat\Response\ApplicationoctocatStream\H200 {
328
+ return $this->browser->request($request->getMethod(), (string) $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), (string) $request->getBody())->then(function (\Psr\Http\Message\ResponseInterface $response) use($operation) : \Psr\Http\Message\ResponseInterface {
332
329
return $operation->createResponse($response);
333
330
});
334
331
}
@@ -9262,7 +9259,7 @@ public function callAsync(string $call, array $params = array())
9262
9259
}
9263
9260
$operation = new Operation\Repos\GetContent($this->responseSchemaValidator, $this->hydrator[Hydrator\Operation\Repos\CbOwnerRcb\CbRepoRcb\Contents\CbPathRcb::class], $arguments['owner'], $arguments['repo'], $arguments['path'], $arguments['ref']);
9264
9261
$request = $operation->createRequest($params);
9265
- return $this->browser->request($request->getMethod(), (string) $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), (string) $request->getBody())->then(function (\Psr\Http\Message\ResponseInterface $response) use($operation) : \ApiClients\Client\GitHubEnterpriseCloud\Schema\ContentTree|\ApiClients\Client\GitHubEnterpriseCloud\Schema\ Operation\Repos\GetContent\Response\Applicationjson\H200 {
9262
+ return $this->browser->request($request->getMethod(), (string) $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), (string) $request->getBody())->then(function (\Psr\Http\Message\ResponseInterface $response) use($operation) : \ApiClients\Client\GitHubEnterpriseCloud\Schema\Operation\Repos\GetContent\Response\Applicationjson\H200 {
9266
9263
return $operation->createResponse($response);
9267
9264
});
9268
9265
}
@@ -10416,7 +10413,7 @@ public function callAsync(string $call, array $params = array())
10416
10413
}
10417
10414
$operation = new Operation\Scim\ListProvisionedIdentities($this->responseSchemaValidator, $this->hydrator[Hydrator\Operation\Scim\V2\Organizations\CbOrgRcb\Users::class], $arguments['org'], $arguments['startIndex'], $arguments['count'], $arguments['filter']);
10418
10415
$request = $operation->createRequest($params);
10419
- return $this->browser->request($request->getMethod(), (string) $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), (string) $request->getBody())->then(function (\Psr\Http\Message\ResponseInterface $response) use($operation) : \ApiClients\Client\GitHubEnterpriseCloud\Schema\ScimUserList {
10416
+ return $this->browser->request($request->getMethod(), (string) $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), (string) $request->getBody())->then(function (\Psr\Http\Message\ResponseInterface $response) use($operation) : mixed {
10420
10417
return $operation->createResponse($response);
10421
10418
});
10422
10419
}
@@ -11918,7 +11915,7 @@ public function callAsync(string $call, array $params = array())
11918
11915
}
11919
11916
$operation = new Operation\CodeScanning\GetAnalysis($this->responseSchemaValidator, $this->hydrator[Hydrator\Operation\Repos\CbOwnerRcb\CbRepoRcb\CodeDashScanning\Analyses\CbAnalysisIdRcb::class], $arguments['owner'], $arguments['repo'], $arguments['analysis_id']);
11920
11917
$request = $operation->createRequest($params);
11921
- return $this->browser->request($request->getMethod(), (string) $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), (string) $request->getBody())->then(function (\Psr\Http\Message\ResponseInterface $response) use($operation) : \ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningAnalysis|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operation\CodeScanning\GetAnalysis\Response\ApplicationjsonPlusSarif\H200 {
11918
+ return $this->browser->request($request->getMethod(), (string) $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), (string) $request->getBody())->then(function (\Psr\Http\Message\ResponseInterface $response) use($operation) : \ApiClients\Client\GitHubEnterpriseCloud\Schema\CodeScanningAnalysis {
11922
11919
return $operation->createResponse($response);
11923
11920
});
11924
11921
}
@@ -13778,7 +13775,7 @@ public function callAsync(string $call, array $params = array())
13778
13775
}
13779
13776
$operation = new Operation\Scim\GetProvisioningInformationForUser($this->responseSchemaValidator, $this->hydrator[Hydrator\Operation\Scim\V2\Organizations\CbOrgRcb\Users\CbScimUserIdRcb::class], $arguments['org'], $arguments['scim_user_id']);
13780
13777
$request = $operation->createRequest($params);
13781
- return $this->browser->request($request->getMethod(), (string) $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), (string) $request->getBody())->then(function (\Psr\Http\Message\ResponseInterface $response) use($operation) : \ApiClients\Client\GitHubEnterpriseCloud\Schema\ScimUser {
13778
+ return $this->browser->request($request->getMethod(), (string) $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), (string) $request->getBody())->then(function (\Psr\Http\Message\ResponseInterface $response) use($operation) : mixed {
13782
13779
return $operation->createResponse($response);
13783
13780
});
13784
13781
}
@@ -16560,7 +16557,7 @@ public function callAsync(string $call, array $params = array())
16560
16557
}
16561
16558
$operation = new Operation\Scim\ProvisionAndInviteUser($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator[Hydrator\Operation\Scim\V2\Organizations\CbOrgRcb\Users::class], $arguments['org']);
16562
16559
$request = $operation->createRequest($params);
16563
- return $this->browser->request($request->getMethod(), (string) $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), (string) $request->getBody())->then(function (\Psr\Http\Message\ResponseInterface $response) use($operation) : \ApiClients\Client\GitHubEnterpriseCloud\Schema\ScimUser {
16560
+ return $this->browser->request($request->getMethod(), (string) $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), (string) $request->getBody())->then(function (\Psr\Http\Message\ResponseInterface $response) use($operation) : mixed {
16564
16561
return $operation->createResponse($response);
16565
16562
});
16566
16563
}
@@ -20893,7 +20890,7 @@ public function callAsync(string $call, array $params = array())
20893
20890
}
20894
20891
$operation = new Operation\Scim\UpdateAttributeForUser($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator[Hydrator\Operation\Scim\V2\Organizations\CbOrgRcb\Users\CbScimUserIdRcb::class], $arguments['org'], $arguments['scim_user_id']);
20895
20892
$request = $operation->createRequest($params);
20896
- return $this->browser->request($request->getMethod(), (string) $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), (string) $request->getBody())->then(function (\Psr\Http\Message\ResponseInterface $response) use($operation) : \ApiClients\Client\GitHubEnterpriseCloud\Schema\ScimUser {
20893
+ return $this->browser->request($request->getMethod(), (string) $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), (string) $request->getBody())->then(function (\Psr\Http\Message\ResponseInterface $response) use($operation) : mixed {
20897
20894
return $operation->createResponse($response);
20898
20895
});
20899
20896
}
@@ -26669,7 +26666,7 @@ public function callAsync(string $call, array $params = array())
26669
26666
}
26670
26667
$operation = new Operation\Scim\SetInformationForProvisionedUser($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator[Hydrator\Operation\Scim\V2\Organizations\CbOrgRcb\Users\CbScimUserIdRcb::class], $arguments['org'], $arguments['scim_user_id']);
26671
26668
$request = $operation->createRequest($params);
26672
- return $this->browser->request($request->getMethod(), (string) $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), (string) $request->getBody())->then(function (\Psr\Http\Message\ResponseInterface $response) use($operation) : \ApiClients\Client\GitHubEnterpriseCloud\Schema\ScimUser {
26669
+ return $this->browser->request($request->getMethod(), (string) $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), (string) $request->getBody())->then(function (\Psr\Http\Message\ResponseInterface $response) use($operation) : mixed {
26673
26670
return $operation->createResponse($response);
26674
26671
});
26675
26672
}
0 commit comments