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:
parent
e483e38f53
commit
9ecb1ca011
1 changed files with 2 additions and 2 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue