You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This library helps you generate [GraphQL Schema](https://graphql.org/learn/schema/) (also called [GraphQL DSL or SDL](https://graphql-java.readthedocs.io/en/latest/schema.html)) based on Introspection Query response.
9
10
It's useful when you use [graphql-java](https://github.com/graphql-java/graphql-java) and [Code First approach](https://graphql-java.readthedocs.io/en/latest/schema.html#creating-a-schema-programmatically) and want to migrate to [Schema First approach](https://graphql-java.readthedocs.io/en/latest/schema.html#creating-a-schema-using-the-sdl).
@@ -13,13 +14,13 @@ It's useful when you use [graphql-java](https://github.com/graphql-java/graphql-
13
14
1. Download Command Line Tool from [releases](https://github.com/mstachniuk/graphql-schema-from-introspection-generator/releases) page.
14
15
2. Run `java -jar graphql-schema-from-introspection-generator-cli-X.X.X.jar input.json output.graphqls`
15
16
16
-
File *input.json* should contains output of GrpahQL Introspection query.
17
+
File *input.json* should contain the output of GrpahQL Introspection query.
17
18
If you don't have this file yet, you can use one from: *core/src/test/resources/testdata/*
18
19
3. In *output.graphqls* you will find generated GraphQL Schema.
19
20
20
21
## How get Introspection Query result?
21
22
22
-
1. Run you application.
23
+
1. Run your application.
23
24
2. Run
24
25
<details>
25
26
<summary>Introspection Query</summary>
@@ -122,7 +123,7 @@ It's useful when you use [graphql-java](https://github.com/graphql-java/graphql-
122
123
123
124
</details>
124
125
125
-
3. Store result in file and use Command Line tool for generating schema (See: [How to use it?](#how-to-use-it)).
126
+
3. Store result in a file and use Command Line tool for generating the schema (See: [How to use it?](#how-to-use-it)).
0 commit comments