Skip to content

Commit f73e7ef

Browse files
authored
892 utility feature to resolve all references in schema and inline all sub schemas (#893)
* wip initial support for external reference resolving * support for external references in schema diagram view * apply formatting changes --------- Co-authored-by: Logende <[email protected]>
1 parent 6fe0f26 commit f73e7ef

17 files changed

Lines changed: 524 additions & 83 deletions

File tree

documentation_user/examples/schema_selection_list/example.schema.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,10 @@
279279
"title": "Partner Name"
280280
}
281281
]
282+
},
283+
"favoritePreciceTopology": {
284+
"description": "Example for an external reference.",
285+
"$ref": "https://raw.githubusercontent.com/MetaConfigurator/meta-configurator/refs/heads/main/documentation_user/examples/schema_selection_list/topology.schema.json"
282286
}
283287
}
284288
}

meta_configurator/package-lock.json

Lines changed: 110 additions & 67 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

meta_configurator/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"precommit": "pretty-quick --staged"
2525
},
2626
"dependencies": {
27+
"@apidevtools/json-schema-ref-parser": "^15.3.1",
2728
"@fortawesome/fontawesome-svg-core": "^6.4.0",
2829
"@fortawesome/free-brands-svg-icons": "^6.5.2",
2930
"@fortawesome/free-regular-svg-icons": "^6.5.2",

0 commit comments

Comments
 (0)