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

Refs #8513
This commit is contained in:
Vladimir Gorej
2023-04-14 13:26:57 +02:00
committed by Vladimír Gorej
parent ddedb57dc0
commit 7cfc5e3656
10 changed files with 122 additions and 25 deletions

View File

@@ -12,6 +12,7 @@ const ModelsWrapper = createOnlyOAS31ComponentWrapper(({ getSystem }) => {
const BooleanJSONSchema = getComponent("BooleanJSONSchema202012")
const KeywordProperties = getComponent("JSONSchema202012KeywordProperties")
const Accordion = getComponent("JSONSchema202012Accordion")
const ExpandDeepButton = getComponent("JSONSchema202012ExpandDeepButton")
const ChevronRightIcon = getComponent("JSONSchema202012ChevronRightIcon")
const withSchemaContext = getComponent("withJSONSchema202012Context")
const ModelsWithJSONContext = withSchemaContext(Models, {
@@ -23,6 +24,7 @@ const ModelsWrapper = createOnlyOAS31ComponentWrapper(({ getSystem }) => {
BooleanJSONSchema,
KeywordProperties,
Accordion,
ExpandDeepButton,
ChevronRightIcon,
},
fn: {