Skip to content

Commit 97371db

Browse files
committed
edits
1 parent df7018f commit 97371db

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ This section provides automated steps for the Azure Developer CLI (`azd`) to con
187187

188188
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.
189189

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.
191191

192192
#### Publish apicenter-analyzer function with Azure Functions Core Tools
193193

@@ -237,9 +237,9 @@ If the deployment process doesn't publish the `apicenter-analyer` function to th
237237
apicenter-analyzer - [eventGridTrigger]
238238
```
239239

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).
241241

242-
### Configure event subscription programatically
242+
### Configure event subscription with the Azure CLI
243243

244244
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**.
245245

@@ -270,7 +270,7 @@ To deploy the function app that runs the linting function on API definitions:
270270

271271
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.
272272

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).
274274

275275
> [!NOTE]
276276
> 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:
524524
525525
1. Select the **Analysis** tab.
526526
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.":::
528528
529529
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.
530530
2.62 KB
Loading

0 commit comments

Comments
 (0)