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
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Perform API linting and analysis - Azure API Center
3
3
description: Configure linting of API definitions in your API center to analyze compliance of APIs with the organization's API style guide.
4
4
ms.service: api-center
5
5
ms.topic: how-to
6
-
ms.date: 02/29/2024
6
+
ms.date: 03/11/2024
7
7
ms.author: danlep
8
8
author: dlepow
9
9
ms.custom:
@@ -162,7 +162,8 @@ Now create an event subscription in your API center to trigger the function app
162
162
163
163
#### [Portal](#tab/portal)
164
164
165
-
1. In the Azure portal, navigate to your API center and select **Events**.
165
+
1. Sign in to the Azure portal at [https://portal.azure.com/?Microsoft_Azure_ApiManagement=apicenterpreview](https://portal.azure.com/?Microsoft_Azure_ApiManagement=apicenterpreview). Currently for this scenario, you must access your API center in the portal at this feature flag.
166
+
1. Navigate to your API center and select **Events**.
166
167
1. Select **Azure Function**.
167
168
1. On the **Create Event Subscription** page, do the following:
168
169
1. Enter a descriptive **Name** for the event subscription, and select **Event Grid Schema**.
@@ -247,7 +248,8 @@ To test the event subscription, try uploading or updating an API definition file
247
248
248
249
To confirm that the event subscription was triggered:
249
250
250
-
1. In the portal, in your API center, select **Events** in the left menu.
251
+
1. Sign in to the Azure portal at [https://portal.azure.com/?Microsoft_Azure_ApiManagement=apicenterpreview](https://portal.azure.com/?Microsoft_Azure_ApiManagement=apicenterpreview).
252
+
1. Navigate to your API center, and select **Events** in the left menu.
251
253
1. Select the **Event Subscriptions** tab and select the event subscription for your function app.
252
254
1. Review the metrics to confirm that the event subscription was triggered and that linting was invoked successfully.
253
255
@@ -262,7 +264,8 @@ After analyzing the API definition, the linting engine generates a report based
262
264
263
265
To view the API analysis report in your API center:
264
266
265
-
1. In the portal, go to the API version in your API center where you added or updated an API definition.
267
+
1. Sign in to the Azure portal at [https://portal.azure.com/?Microsoft_Azure_ApiManagement=apicenterpreview](https://portal.azure.com/?Microsoft_Azure_ApiManagement=apicenterpreview).
268
+
1. Navigate to the API version in your API center where you added or updated an API definition.
266
269
1. Select **Definitions**, and then select the API definition file that you uploaded or updated.
267
270
1. Select the **Analysis** tab.
268
271
:::image type="content" source="media/enable-api-analysis-linting/analyze-api-definition.png" alt-text="Screenshot of Analysis tab for API definition in the portal.":::
@@ -277,4 +280,5 @@ Learn more about Event Grid:
277
280
278
281
* [System topics in Azure Event Grid](../event-grid/system-topics.md)
0 commit comments