You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/api-center/enable-api-analysis-linting.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -187,7 +187,7 @@ This section provides automated steps for the Azure Developer CLI (`azd`) to con
187
187
188
188
If the `apicenter-analyer` function isn't listed or the **Status** isn't **Enabled**, [publish the function](#publish-apicenter-analyzer-function-with-azure-functions-core-tools) by using the Azure Functions Core Tools.
189
189
190
-
1.[Configure an event subscription](#configure-event-subscription-programatically) by using PowerShell or a bash shell in Visual Studio Code.
190
+
1.[Configure an event subscription](#configure-event-subscription-with-the-azure-cli) by using PowerShell or a bash shell in Visual Studio Code.
191
191
192
192
#### Publish apicenter-analyzer function with Azure Functions Core Tools
193
193
@@ -237,9 +237,9 @@ If the deployment process doesn't publish the `apicenter-analyer` function to th
237
237
apicenter-analyzer - [eventGridTrigger]
238
238
```
239
239
240
-
1. In the Azure portal, confirm the `apicenter-analyer` function is now [published and enabled for your function app](#confirm-published-function).
240
+
1. In the Azure portal, confirm the `apicenter-analyer` function is now [published and enabled for your function app](#confirm-function-published-in-azure-portal).
241
241
242
-
### Configure event subscription programatically
242
+
### Configure event subscription with the Azure CLI
243
243
244
244
After the function is successfully published to the function app in the Azure portal, you can [configure an event subscription](#configure-event-subscription-programatically) by using PowerShell or a bash shell. Then browse to your API center in the Azure portal, and confirm the new event subscription under **Events** > **Event Subscriptions**.
245
245
@@ -270,7 +270,7 @@ To deploy the function app that runs the linting function on API definitions:
270
270
271
271
1. (Optional) Run the function app locally to test it. For more information, see the [README](https://github.com/Azure/APICenter-Analyzer/tree/preview#-configure--run-your-function-locally) file in the repository.
272
272
273
-
1. Deploy the function app to Azure. For instructions, see [Quickstart: Create and deploy function code to Azure by using Visual Studio Code (TypeScript)](../azure/azure-functions/how-to-create-function-vs-code?pivot=programming-language-typescript&tabs=go%2Cwindows&pivots=programming-language-typescript#sign-in-to-azure).
273
+
1. Deploy the function app to Azure. For instructions, see [Quickstart: Create and deploy function code to Azure by using Visual Studio Code (TypeScript)](/azure/azure-functions/how-to-create-function-vs-code?pivot=programming-language-typescript&tabs=go%2Cwindows&pivots=programming-language-typescript#sign-in-to-azure).
274
274
275
275
> [!NOTE]
276
276
> Deploying the function app can take several minutes.
@@ -524,7 +524,7 @@ To view the analysis report for an API definition in your API center:
524
524
525
525
1. Select the **Analysis** tab.
526
526
527
-
:::image type="content" source="media/enable-api-analysis-linting/analyze-api-definition.png" alt-text="Screenshot of the Analysis tab for an API definition in the Azure portal." lightbox="media/enable-api-analysis-linting/analyze-api-definition.png":::
527
+
:::image type="content" source="media/enable-api-analysis-linting/analyze-api-definition.png" alt-text="Screenshot of the Analysis tab for an API definition in the Azure portal.":::
528
528
529
529
The **API Analysis Report** opens, and it displays the API definition and errors, warnings, and information based on the configured API style guide. The following screenshot shows an example of an API analysis report.
0 commit comments