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: includes/api-management-import-odata-metadata.md
+18-5Lines changed: 18 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
author: dlepow
3
3
ms.service: api-management
4
4
ms.topic: include
5
-
ms.date: 07/21/2023
5
+
ms.date: 01/03/2024
6
6
ms.author: danlep
7
7
---
8
8
## Import OData metadata
@@ -18,20 +18,33 @@ ms.author: danlep
18
18
1. Enter remaining settings to configure your API. These settings are explained in the [Import and publish your first API](../articles/api-management/import-and-publish.md#import-and-publish-a-backend-api) tutorial.
19
19
1. Select **Create**.
20
20
21
-
The API is added to the **APIs** list. The entity sets and functions that are exposed in the OData metadata description appear on the API's **Schema** tab.
21
+
The API is added to the **APIs** list. The entity sets and functions that are exposed in the OData metadata description appear on the API's **Entity sets and functions** tab.
22
22
23
-
:::image type="content" source="media/api-management-import-odata-from-metadata/odata-schema.png" alt-text="Screenshot of schema of OData API in the portal." :::
23
+
:::image type="content" source="media/api-management-import-odata-from-metadata/odata-schema.png" alt-text="Screenshot of OData entity sets and functions in the portal." lightbox="media/api-management-import-odata-from-metadata/odata-schema.png" :::
24
24
25
25
## Update the OData schema
26
26
27
27
You can access an editor in the portal to view your API's OData schema. If the API changes, you can also update the schema in API Management from a file or an OData service endpoint.
28
28
29
29
1. In the [portal](https://portal.azure.com), navigate to your API Management instance.
30
30
1. In the left menu, select **APIs** > your OData API.
31
-
1. On the **Schema** tab, select the edit (**\</>**) icon.
31
+
1. On the **Entity sets and functions** tab, select the context menu (**...**) next to an entity set or function, and select **Edit**.
32
+
33
+
:::image type="content" source="media/api-management-import-odata-from-metadata/edit-schema.png" alt-text="Screenshot of context menu for an OData entity set in the portal." lightbox="media/api-management-import-odata-from-metadata/edit-schema.png":::
34
+
32
35
1. Review the schema. If you want to update it, select **Update from file** or **Update schema from endpoint**.
33
36
34
-
:::image type="content" source="media/api-management-import-odata-from-metadata/odata-schema-update.png" alt-text="Screenshot of schema editor for OData API in the portal." :::
37
+
:::image type="content" source="media/api-management-import-odata-from-metadata/odata-schema-update.png" alt-text="Screenshot of schema editor for OData API in the portal." lightbox="media/api-management-import-odata-from-metadata/odata-schema-update.png":::
38
+
39
+
## Test your OData API
40
+
41
+
1. In the left menu, select **APIs** > your OData API.
42
+
1. On the **Entity sets and functions** tab, select the context menu (**...**) next to an entity set or function, and select **Test**.
43
+
44
+
:::image type="content" source="media/api-management-import-odata-from-metadata/test-entity.png" alt-text="Screenshot of Test option on context menu for an OData entity set in the portal." lightbox="media/api-management-import-odata-from-metadata/test-entity.png":::
45
+
46
+
1. In the test console, enter template parameters, query parameters, and headers for your test, and select **Test**. [Learn more](../articles/api-management/import-api-from-oas.md#test-the-new-api-in-the-portal) about testing an API in the portal.
0 commit comments