Skip to content

Commit

Permalink
Updated the client with the new OpenAPI file
Browse files Browse the repository at this point in the history
  • Loading branch information
gplanchat committed Mar 4, 2023
1 parent 093cae3 commit 3e2741c
Show file tree
Hide file tree
Showing 1,055 changed files with 25,508 additions and 16,915 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
},
"require-dev": {
"jane-php/open-api-3": "^7.2",
"friendsofphp/php-cs-fixer": "^3.11"
"friendsofphp/php-cs-fixer": "^3.11",
"rector/rector": "^0.15.19"
},
"config": {
"bin-dir": "bin"
Expand Down
116 changes: 115 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion jane/gyroscops.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion src/Authentication/ApiKeyAuthentication.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ public function __construct(string $apiKey)

public function authentication(\Psr\Http\Message\RequestInterface $request): \Psr\Http\Message\RequestInterface
{
return $request->withHeader('Authorization', $this->{'apiKey'});
$request = $request->withHeader('Authorization', $this->{'apiKey'});

return $request;
}

public function getScope(): string
Expand Down
Loading

0 comments on commit 3e2741c

Please sign in to comment.