Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
linter: Fix checking for inline refs.
Suyash Vardhan Mathurfbf9de671acd
diff --git a/tools/check-openapi b/tools/check-openapiindex ad4a2c0d99b..cf4cc9a39b4 100755--- a/tools/check-openapi+++ b/tools/check-openapi@@ -13,7 +13,7 @@ function checkRefSiblings(file, path, data) {if (typeof data === "object" && data !== null) {if ("allOf" in data &&- Object.values(data.allOf).filter((subschema) => !("$ref" in subschema)).length !== 1+ Object.values(data.allOf).filter((subschema) => !("$ref" in subschema)).length > 1) {console.error(`${file}: Too many inline allOf subschemas at ${JSON.stringify(