Added Authorization Header with env variables

This commit is contained in:
Samuel Andert 2023-07-12 19:43:22 +02:00
parent 1fd75d744f
commit 0783eaa2d7
4 changed files with 6323 additions and 3 deletions

View File

@ -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

File diff suppressed because it is too large Load Diff

1290
schema/gridproxy.json Normal file

File diff suppressed because it is too large Load Diff