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

Refs #8513
This commit is contained in:
Vladimir Gorej
2023-04-21 13:23:29 +02:00
committed by Vladimír Gorej
parent b7a402398f
commit 503aa19f36
8 changed files with 50 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ const ModelsWrapper = createOnlyOAS31ComponentWrapper(({ getSystem }) => {
const KeywordNot = getComponent("JSONSchema202012KeywordNot")
const KeywordIf = getComponent("JSONSchema202012KeywordIf")
const KeywordThen = getComponent("JSONSchema202012KeywordThen")
const KeywordElse = getComponent("JSONSchema202012KeywordElse")
const KeywordProperties = getComponent("JSONSchema202012KeywordProperties")
const KeywordType = getComponent("JSONSchema202012KeywordType")
const KeywordFormat = getComponent("JSONSchema202012KeywordFormat")
@@ -60,6 +61,7 @@ const ModelsWrapper = createOnlyOAS31ComponentWrapper(({ getSystem }) => {
KeywordNot,
KeywordIf,
KeywordThen,
KeywordElse,
KeywordProperties,
KeywordType,
KeywordFormat,