26 lines
729 B
YAML
26 lines
729 B
YAML
serve:
|
|
endpoint: /api/graphql
|
|
additionalEnvelopPlugins: "./src/envelopePlugin.ts"
|
|
sources:
|
|
- name: Gitea
|
|
handler:
|
|
openapi:
|
|
endpoint: https://git.andert.me/api/v1
|
|
source: schema/gitea.yml
|
|
operationHeaders:
|
|
Authorization: Bearer {env.GITEA_API}
|
|
- name: Directus
|
|
handler:
|
|
graphql:
|
|
endpoint: https://directus.andert.me/graphql
|
|
source: schema/directus.graphql
|
|
operationHeaders:
|
|
Authorization: Bearer {env.DIRECTUS_API}
|
|
# - name: Cloudron
|
|
# handler:
|
|
# openapi:
|
|
# endpoint: https://my.andert.me/api/v1
|
|
# source: schema/cloudron.json
|
|
# operationHeaders:
|
|
# Authorization: Bearer {env.CLOUDRON_API}
|