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

Refs #8513
This commit is contained in:
Vladimir Gorej
2023-04-25 07:52:53 +02:00
committed by Vladimír Gorej
parent 64ee5fa639
commit 7f9ac83f16
7 changed files with 45 additions and 1 deletions

View File

@@ -40,6 +40,9 @@ const ModelsWrapper = createOnlyOAS31ComponentWrapper(({ getSystem }) => {
const KeywordAdditionalProperties = getComponent(
"JSONSchema202012KeywordAdditionalProperties"
)
const KeywordPropertyNames = getComponent(
"JSONSchema202012KeywordPropertyNames"
)
const KeywordType = getComponent("JSONSchema202012KeywordType")
const KeywordFormat = getComponent("JSONSchema202012KeywordFormat")
const KeywordTitle = getComponent("JSONSchema202012KeywordTitle")
@@ -81,6 +84,7 @@ const ModelsWrapper = createOnlyOAS31ComponentWrapper(({ getSystem }) => {
KeywordProperties,
KeywordPatternProperties,
KeywordAdditionalProperties,
KeywordPropertyNames,
KeywordType,
KeywordFormat,
KeywordTitle,