check-openapi: Convert to TypeScript.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2025-09-03 22:16:25 -07:00
committed by Anders Kaseorg
parent 29dd592f38
commit 0fc5f6994f
5 changed files with 36 additions and 22 deletions

View File

@@ -110,7 +110,7 @@ def run() -> None:
)
linter_config.external_linter(
"openapi",
["node", "tools/check-openapi"],
["node", "tools/check-openapi.ts"],
["yaml"],
description="Validates our OpenAPI/Swagger API documentation (zerver/openapi/zulip.yaml) ",
fix_arg="--fix",