Skip to content

Commit 5e52bf7

Browse files
committed
edit
1 parent 0c7cc9b commit 5e52bf7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

articles/api-center/enable-managed-api-analysis-linting.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ To enable API analysis using the default linting ruleset:
5353

5454
:::image type="content" source="media/enable-managed-api-analysis-linting/enable-analysis-visual-studio-code.png" alt-text="Screenshot of enabling API linting and analysis in Visual Studio Code.":::
5555

56-
A message notifies you after API analysis is successfully enabled. The following are installed locally in the `.api-center-rules` folder at the root of your working folder:
56+
A message notifies you after API analysis is successfully enabled. A folder for your API center is created in `.api-center-rules`, at the root of your working folder. The folder for your API center contains:
5757

5858
* A `ruleset.yml` file that defines the default API style guide used by the linting engine.
5959
* A `functions` folder with an example custom function that you can use to extend the ruleset.
@@ -108,9 +108,11 @@ Before deploying the custom ruleset to your API center, validate it locally. The
108108

109109
1. In Visual Studio Code, use the **Ctrl+Shift+P** keyboard shortcut to open the Command Palette.
110110
1. Type **Azure API Center: Set active API Style Guide** and hit **Enter**.
111-
1. Choose **Select Local File** and specify the `ruleset.yml` file that you customized. Hit **Enter**.
111+
1. Choose **Select Local File** and specify the `ruleset.yml` file that you customized. Hit **Enter**.
112112

113-
With the custom ruleset set as the active API style guide, opening an OpenAPI-based API definition file automatically triggers a local linting operation in Visual Studio Code. Results are displayed inline in the editor and in the **Problems** window (**View > Problems** or **Ctrl+Shift+M**).
113+
This step makes the custom ruleset the active API style guide for linting.
114+
115+
Now, when you an OpenAPI-based API definition file, a local linting operation is automatically triggered in Visual Studio Code. Results are displayed inline in the editor and in the **Problems** window (**View > Problems** or **Ctrl+Shift+M**).
114116

115117
:::image type="content" source="media/enable-managed-api-analysis-linting/validate-local-linting.png" alt-text="Screenshot of linting an API definition in Visual Studio Code." lightbox="media/enable-managed-api-analysis-linting/validate-local-linting.png":::
116118

0 commit comments

Comments
 (0)