feat(oas31): add support for Schema Object xml keyword (#8657)
Refs #8513
This commit is contained in:
@@ -8,5 +8,6 @@ export const makeIsExpandable = (original, { fn }) => {
|
||||
|
||||
const { hasKeyword } = fn.jsonSchema202012
|
||||
|
||||
return (schema) => original(schema) || hasKeyword(schema, "example")
|
||||
return (schema) =>
|
||||
original(schema) || hasKeyword(schema, "example") || schema?.xml
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user