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 command will expand all the `$ref` statements in a JSON Schema. This command is useful when managing artifact definition schemas and using `$refs` to keep your definitions "DRY".
16
+
17
+
## Examples
18
+
19
+
From an existing file
20
+
21
+
```shell
22
+
mass schema dereference --file artdef.json
23
+
```
24
+
25
+
From stdin
26
+
27
+
```shell
28
+
cat artdef.json | mass schema dereference -f -
29
+
```
30
+
31
+
32
+
```
33
+
mass schema dereference [flags]
34
+
```
35
+
36
+
### Options
37
+
38
+
```
39
+
-f, --file string Path to JSON document (use - for stdin)
This command will expand all the `$ref` statements in a JSON Schema. This command is useful when managing artifact definition schemas and using `$refs` to keep your definitions "DRY".
0 commit comments