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
This article shows how to import an "OpenAPI specification" backend API to Azure API Management using a variety of tools. The article also shows how to test the API in API Management.
17
+
This article shows how to import an "OpenAPI specification" backend API to Azure API Management using various tools. The article also shows how to test the API in API Management.
18
18
19
19
In this article, you learn how to:
20
20
> [!div class="checklist"]
@@ -37,7 +37,7 @@ In this article, you learn how to:
37
37
38
38
## <aname="create-api"> </a>Import a backend API
39
39
40
-
For this example, you import the [specification](https://petstore3.swagger.io/api/v3/openapi.json) for the open source [Petstore API](https://petstore3.swagger.io/), but you can substitute an OpenAPI specification of your choice.
40
+
For this example, you import the [OpenAPI specification](https://petstore3.swagger.io/api/v3/openapi.json) for the open source [Petstore API](https://petstore3.swagger.io/), but you can substitute an OpenAPI specification of your choice.
41
41
42
42
43
43
#### [Portal](#tab/portal)
@@ -99,16 +99,29 @@ After importing the API, if needed, you can update the settings by using the [Se
1. In the Azure portal, navigate to your API Management instance.
109
+
1. In the left menu, under **APIs**, select **APIs** > **\<your API\>** > **All operations**.
110
+
1. On the **Design** tab, in **Frontend**, select **OpenAPI Specification editor** (pencil icon). You can open the specification in JSON or YAML format.
111
+
1. Review or edit the specification as needed. **Save** your changes.
107
112
108
113
## Validate against an OpenAPI specification schema
109
114
110
115
You can configure API Management [validation policies](api-management-policies.md#content-validation) to validate requests and responses (or elements of them) against the schema in an OpenAPI specification. For example, use the [validate-content](validate-content-policy.md) policy to validate the size or content of a request or response body.
Copy file name to clipboardExpand all lines: includes/api-management-append-apis.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,11 +23,11 @@ Append a different API to your existing API using the following steps.
23
23
24
24
1. Go to your Azure API Management instance in the Azure portal.
25
25
26
-
:::image type="content" source="./media/api-management-append-apis/service-page-1.png" alt-text="Go to Azure API Mgmt instance":::
26
+
:::image type="content" source="./media/api-management-append-apis/service-page-1.png" alt-text="Screenshot of navigating to API Management instance in the portal.":::
27
27
28
28
1. Select **APIs** on the **Overview** page or from the menu on the left.
:::image type="content" source="./media/api-management-append-apis/api-select-1.png" alt-text="Screenshot of selecting APIs on Overview page in the portal.":::
31
31
32
32
1. Click **...** next to the API that you want to append another API to.
33
33
1. Select **Import** from the drop-down menu.
@@ -36,4 +36,4 @@ Append a different API to your existing API using the following steps.
:::image type="content" source="./media/api-management-append-apis/select-to-import.png" alt-text="Screenshot of selecting a service in the portal.":::
0 commit comments