fix(github): update authentication method for GitHub app operations

- Changed security scheme from 'api_token' to 'bearerAuth' for the update and delete GitHub app endpoints.
- Ensured consistent authentication handling across GitHub app operations.
This commit is contained in:
Andras Bacsai 2025-09-23 11:37:56 +02:00
parent e483e38f53
commit 9ecb1ca011

View file

@ -402,7 +402,7 @@ public function load_branches($github_app_id, $owner, $repo)
path: '/github-apps/{github_app_id}',
operationId: 'updateGithubApp',
security: [
['api_token' => []],
['bearerAuth' => []],
],
tags: ['GitHub Apps'],
summary: 'Update GitHub App',
@ -581,7 +581,7 @@ public function update_github_app(Request $request, $github_app_id)
path: '/github-apps/{github_app_id}',
operationId: 'deleteGithubApp',
security: [
['api_token' => []],
['bearerAuth' => []],
],
tags: ['GitHub Apps'],
summary: 'Delete GitHub App',