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

Refs #8513
This commit is contained in:
Vladimir Gorej
2023-04-19 15:29:03 +02:00
committed by Vladimír Gorej
parent 7d5cad0a1a
commit d6d3e9ffc1
7 changed files with 51 additions and 5 deletions

View File

@@ -9,6 +9,7 @@ const ModelsWrapper = createOnlyOAS31ComponentWrapper(({ getSystem }) => {
const { getComponent, fn } = getSystem()
const Models = getComponent("OAS31Models", true)
const JSONSchema = getComponent("JSONSchema202012")
const Keyword$schema = getComponent("JSONSchema202012Keyword$schema")
const KeywordProperties = getComponent("JSONSchema202012KeywordProperties")
const KeywordType = getComponent("JSONSchema202012KeywordType")
const KeywordFormat = getComponent("JSONSchema202012KeywordFormat")
@@ -28,6 +29,7 @@ const ModelsWrapper = createOnlyOAS31ComponentWrapper(({ getSystem }) => {
},
components: {
JSONSchema,
Keyword$schema,
KeywordProperties,
KeywordType,
KeywordFormat,