feat(json-schema-2020-12): add support for description keyword

Refs #8513
This commit is contained in:
Vladimir Gorej
2023-04-14 15:02:01 +02:00
committed by Vladimír Gorej
parent c4ec33b82c
commit a7efbf5b19
11 changed files with 61 additions and 6 deletions

View File

@@ -13,6 +13,10 @@ const ModelsWrapper = createOnlyOAS31ComponentWrapper(({ getSystem }) => {
const KeywordProperties = getComponent("JSONSchema202012KeywordProperties")
const KeywordType = getComponent("JSONSchema202012KeywordType")
const KeywordFormat = getComponent("JSONSchema202012KeywordFormat")
const KeywordDescription = getComponent(
"JSONSchema202012KeywordDescription",
true
)
const Accordion = getComponent("JSONSchema202012Accordion")
const ExpandDeepButton = getComponent("JSONSchema202012ExpandDeepButton")
const ChevronRightIcon = getComponent("JSONSchema202012ChevronRightIcon")
@@ -27,6 +31,7 @@ const ModelsWrapper = createOnlyOAS31ComponentWrapper(({ getSystem }) => {
KeywordProperties,
KeywordType,
KeywordFormat,
KeywordDescription,
Accordion,
ExpandDeepButton,
ChevronRightIcon,