docs-util: fix OAS generation error (#8577)

This commit is contained in:
Shahed Nasser
2024-08-14 11:21:22 +03:00
committed by GitHub
parent c820741df9
commit 92a7b5b4c0
5 changed files with 76 additions and 4 deletions

View File

@@ -27,6 +27,22 @@ class SchemaFactory {
type: "string",
format: "date-time",
},
$and: {
type: "array",
description:
"Join query parameters with an AND condition. Each object's content is the same type as the expected query parameters.",
items: {
type: "object",
},
},
$or: {
type: "array",
description:
"Join query parameters with an OR condition. Each object's content is the same type as the expected query parameters.",
items: {
type: "object",
},
},
}
/**