feat: introduce new UI + extendable behavior

Ref #8513
This commit is contained in:
Vladimir Gorej
2023-04-13 17:43:19 +02:00
committed by Vladimír Gorej
parent ab1842083d
commit 9ed1c1b3a0
10 changed files with 277 additions and 8 deletions

View File

@@ -10,6 +10,8 @@ const ModelsWrapper = createOnlyOAS31ComponentWrapper(({ getSystem }) => {
const Models = getComponent("OAS31Models", true)
const JSONSchema = getComponent("JSONSchema202012")
const BooleanJSONSchema = getComponent("BooleanJSONSchema202012")
const Accordion = getComponent("JSONSchema202012Accordion")
const ChevronRightIcon = getComponent("JSONSchema202012ChevronRightIcon")
const withSchemaContext = getComponent("withJSONSchema202012Context")
const ModelsWithJSONContext = withSchemaContext(Models, {
config: {
@@ -18,6 +20,8 @@ const ModelsWrapper = createOnlyOAS31ComponentWrapper(({ getSystem }) => {
components: {
JSONSchema,
BooleanJSONSchema,
Accordion,
ChevronRightIcon,
},
fn: {
upperFirst: fn.upperFirst,