diff --git a/docs/documentation/api.md b/docs/documentation/api.md index 6115054810..233349efa1 100644 --- a/docs/documentation/api.md +++ b/docs/documentation/api.md @@ -193,7 +193,7 @@ above. declared using `REQ`. You can check your formatting using two helpful tools. - * `tools/check-swagger` will verify the syntax of `zerver/openapi/zulip.yaml`. + * `tools/check-openapi` will verify the syntax of `zerver/openapi/zulip.yaml`. * `test-backend zerver/tests/test_openapi.py`; this test compares your documentation against the code and can find many common mistakes in how arguments are declared. diff --git a/tools/check-swagger b/tools/check-openapi old mode 100644 new mode 100755 similarity index 100% rename from tools/check-swagger rename to tools/check-openapi diff --git a/tools/lint b/tools/lint index e212e8bc58..3b43b370a1 100755 --- a/tools/lint +++ b/tools/lint @@ -74,7 +74,7 @@ def run(): description="Custom linter checks whitespace formatting" "of HTML templates.", fix_arg='--fix') - linter_config.external_linter('swagger', ['node', 'tools/check-swagger'], ['yaml'], + linter_config.external_linter('openapi', ['node', 'tools/check-openapi'], ['yaml'], description="Validates our OpenAPI/Swagger API documentation" "(zerver/openapi/zulip.yaml) ") linter_config.external_linter('shellcheck', ['shellcheck', '-x'], ['sh'],