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 @@ class GithubController extends Controller
path: '/github-apps/{github_app_id}', path: '/github-apps/{github_app_id}',
operationId: 'updateGithubApp', operationId: 'updateGithubApp',
security: [ security: [
['api_token' => []], ['bearerAuth' => []],
], ],
tags: ['GitHub Apps'], tags: ['GitHub Apps'],
summary: 'Update GitHub App', summary: 'Update GitHub App',
@@ -581,7 +581,7 @@ class GithubController extends Controller
path: '/github-apps/{github_app_id}', path: '/github-apps/{github_app_id}',
operationId: 'deleteGithubApp', operationId: 'deleteGithubApp',
security: [ security: [
['api_token' => []], ['bearerAuth' => []],
], ],
tags: ['GitHub Apps'], tags: ['GitHub Apps'],
summary: 'Delete GitHub App', summary: 'Delete GitHub App',