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

Refs #8513
This commit is contained in:
Vladimir Gorej
2023-04-19 19:21:13 +02:00
committed by Vladimír Gorej
parent d6d3e9ffc1
commit 679698b998
9 changed files with 83 additions and 1 deletions

View File

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