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

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

View File

@@ -25,6 +25,7 @@ const ModelsWrapper = createOnlyOAS31ComponentWrapper(({ getSystem }) => {
const KeywordOneOf = getComponent("JSONSchema202012KeywordOneOf")
const KeywordNot = getComponent("JSONSchema202012KeywordNot")
const KeywordIf = getComponent("JSONSchema202012KeywordIf")
const KeywordThen = getComponent("JSONSchema202012KeywordThen")
const KeywordProperties = getComponent("JSONSchema202012KeywordProperties")
const KeywordType = getComponent("JSONSchema202012KeywordType")
const KeywordFormat = getComponent("JSONSchema202012KeywordFormat")
@@ -58,6 +59,7 @@ const ModelsWrapper = createOnlyOAS31ComponentWrapper(({ getSystem }) => {
KeywordOneOf,
KeywordNot,
KeywordIf,
KeywordThen,
KeywordProperties,
KeywordType,
KeywordFormat,