We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45950a6 commit 940c3f7Copy full SHA for 940c3f7
docs/source/commands/supergraphs.mdx
@@ -229,3 +229,16 @@ We recommend updating to the latest version of Rover as soon as possible. If you
229
|---|---|
230
|<= v0.2.x|<= v0.38.x|
231
|>= v0.3.x|>= v0.39.x|
232
+
233
+## Printing the JSON Schema for use with Editor Validation
234
235
+### `supergraph print-json-schema`
236
237
+You can use Rover to print the JSON Schema for the `supergraph.yaml` file to the console or to a file, like so
238
239
+```bash
240
+rover supergraph print-json-schema
241
+```
242
243
+This can then be consumed by an IDE to allow for automatic checking of the structure of the `supergraph.yaml` file. For
244
+example, you can use in VSCode by following the instructions [here](https://code.visualstudio.com/docs/languages/json#_json-schemas-and-settings)
0 commit comments