Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/documentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"start": "astro dev",
"build:docs": "astro build",
"build:docs:graphql": "spectaql config-auth.yml && spectaql config-backend.yml",
"build:docs:graphql": "spectaql ./spectaql/config-auth.yml && spectaql ./spectaql/config-auth-es.yml && spectaql ./spectaql/config-backend.yml && spectaql ./spectaql/config-backend-es.yml",
"preview": "astro preview",
"astro": "astro",
"format": "prettier --write '**/*.{js,mjs,ts,tsx,json,md,mdx,astro}' && eslint --max-warnings=0 --fix .",
Expand Down
31 changes: 31 additions & 0 deletions packages/documentation/spectaql/config-auth-es.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
spectaql:
oneFile: true
targetDir: ./src/pages/es/apis/graphql/auth
logoFile: ./public/img/logo.png
embedLogo: true
faviconUrl: /favicon.svg
displayAllServers: true

introspection:
removeTrailingPeriodFromDescriptions: false
schemaFile: '../auth/src/graphql/schema.graphql'
queryNameStrategy: capitalizeFirst
fieldExpansionDepth: 2

spectaqlDirective:
enable: true

extensions:
graphqlScalarExamples: true

info:
title: Auth Admin API
description: The Auth Admin API allows you to get information about a grant, such as its status, state, related payment details, and the wallet address of the grantee’s account. The API also allows you to revoke grants.
x-introItems:
- title: Back to documentation
url: /es/overview/overview
x-hidePoweredBy: true

servers:
- url: https://staging.example.com/graphql
description: Staging
31 changes: 31 additions & 0 deletions packages/documentation/spectaql/config-backend-es.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
spectaql:
oneFile: true
targetDir: ./src/pages/es/apis/graphql/backend
logoFile: ./public/img/logo.png
embedLogo: true
faviconUrl: /favicon.svg
displayAllServers: true

introspection:
removeTrailingPeriodFromDescriptions: false
schemaFile: '../backend/src/graphql/schema.graphql'
queryNameStrategy: capitalizeFirst
fieldExpansionDepth: 2

spectaqlDirective:
enable: true

extensions:
graphqlScalarExamples: true

info:
title: Backend Admin API
description: The Backend Admin API provides you with comprehensive capabilities to manage your Rafiki instance. Core functionality includes managing peering relationships, assets, wallet addresses and their public keys, as well as liquidity management through deposits and withdrawals. Another important aspect of the Backend Admin API is to manage Open Payments resources like payments and quotes.
x-introItems:
- title: Back to documentation
url: /es/overview/overview
x-hidePoweredBy: true

servers:
- url: https://staging.example.com/graphql
description: Staging
212 changes: 190 additions & 22 deletions packages/documentation/src/pages/apis/graphql/auth/index.html

Large diffs are not rendered by default.

1,637 changes: 1,294 additions & 343 deletions packages/documentation/src/pages/apis/graphql/backend/index.html

Large diffs are not rendered by default.

Loading
Loading