File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -229,3 +229,16 @@ We recommend updating to the latest version of Rover as soon as possible. If you
229
229
|---|---|
230
230
|<= v0.2.x|<= v0.38.x|
231
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)
You can’t perform that action at this time.
0 commit comments