-
Notifications
You must be signed in to change notification settings - Fork 428
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create SpectaQL configs for both admin and user schema
- Loading branch information
Showing
2 changed files
with
33 additions
and
3 deletions.
There are no files selected for viewing
11 changes: 8 additions & 3 deletions
11
priv/graphql/spectaql_config.yml → doc/graphql-api/Admin-GraphQL_spectaql.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Config file needed to generate static documentation from GraphQL using SpectaQL | ||
|
||
spectaql: | ||
themeDir: default | ||
|
||
introspection: | ||
schemaFile: | ||
- priv/graphql/schemas/user/**/*.gql | ||
- priv/graphql/schemas/global/**/*.gql | ||
|
||
info: | ||
title: MongooseIM GraphQL API Reference | ||
description: A static documentation of the MongooseIM GraphQL User API | ||
contact: | ||
name: API Support | ||
url: https://github.com/esl/MongooseIM | ||
email: mongoose-im@erlang-solutions.com | ||
license: | ||
name: GPL-2.0 | ||
url: https://github.com/esl/MongooseIM/blob/master/COPYIN | ||
|
||
servers: | ||
- url: http://localhost:5561/api/graphql | ||
description: Dev mim1 | ||
production: false |