feat(json-schema-2020-12): add support for expandable behavior

Refs #8513
This commit is contained in:
Vladimir Gorej
2023-04-14 12:21:30 +02:00
committed by Vladimír Gorej
parent 9ed1c1b3a0
commit ddedb57dc0
10 changed files with 96 additions and 83 deletions

View File

@@ -10,6 +10,7 @@ const ModelsWrapper = createOnlyOAS31ComponentWrapper(({ getSystem }) => {
const Models = getComponent("OAS31Models", true)
const JSONSchema = getComponent("JSONSchema202012")
const BooleanJSONSchema = getComponent("BooleanJSONSchema202012")
const KeywordProperties = getComponent("JSONSchema202012KeywordProperties")
const Accordion = getComponent("JSONSchema202012Accordion")
const ChevronRightIcon = getComponent("JSONSchema202012ChevronRightIcon")
const withSchemaContext = getComponent("withJSONSchema202012Context")
@@ -20,6 +21,7 @@ const ModelsWrapper = createOnlyOAS31ComponentWrapper(({ getSystem }) => {
components: {
JSONSchema,
BooleanJSONSchema,
KeywordProperties,
Accordion,
ChevronRightIcon,
},