feat(oas31): add support for Schema Object xml keyword (#8657)

Refs #8513
This commit is contained in:
Vladimír Gorej
2023-05-11 16:28:02 +02:00
committed by GitHub
parent f74ff82897
commit 9bb5a210c0
6 changed files with 131 additions and 10 deletions

View File

@@ -51,6 +51,7 @@ import {
} from "./spec-extensions/wrap-selectors"
import { selectLicenseUrl as selectOAS31LicenseUrl } from "./selectors"
import JSONSchema202012KeywordExample from "./json-schema-2020-12-extensions/components/keywords/Example"
import JSONSchema202012KeywordXml from "./json-schema-2020-12-extensions/components/keywords/Xml"
import JSONSchema202012KeywordDescriptionWrapper from "./json-schema-2020-12-extensions/wrap-components/keywords/Description"
import JSONSchema202012KeywordDefaultWrapper from "./json-schema-2020-12-extensions/wrap-components/keywords/Default"
import { makeIsExpandable } from "./json-schema-2020-12-extensions/fn"
@@ -84,6 +85,7 @@ const OAS31Plugin = ({ getSystem }) => {
OAS31VersionPragmaFilter: VersionPragmaFilter,
OAS31Models: Models,
JSONSchema202012KeywordExample,
JSONSchema202012KeywordXml,
},
wrapComponents: {
InfoContainer: InfoWrapper,