Added Authorization Header with env variables
This commit is contained in:
parent
1fd75d744f
commit
0783eaa2d7
15
.meshrc.yml
15
.meshrc.yml
@ -1,8 +1,17 @@
|
||||
serve:
|
||||
endpoint: /api/graphql
|
||||
sources:
|
||||
- name: Gitea
|
||||
handler:
|
||||
openapi:
|
||||
endpoint: https://git.andert.me/api/v1
|
||||
source: gitea.yml
|
||||
serve:
|
||||
endpoint: /api/graphql
|
||||
source: schema/gitea.yml
|
||||
operationHeaders:
|
||||
Authorization: Bearer {env.GITEA_API}
|
||||
- name: Cloudron
|
||||
handler:
|
||||
openapi:
|
||||
endpoint: https://my.andert.me/api/v1
|
||||
source: schema/cloudron.json
|
||||
operationHeaders:
|
||||
Authorization: Bearer {env.CLOUDRON_API}
|
||||
|
5021
schema/cloudron.json
Normal file
5021
schema/cloudron.json
Normal file
File diff suppressed because it is too large
Load Diff
1290
schema/gridproxy.json
Normal file
1290
schema/gridproxy.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user