Skip to content

Commit 1c41e90

Browse files
committed
updates
1 parent a0c48fb commit 1c41e90

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

articles/api-management/import-container-app-with-oas.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@ ms.author: danlep
1616

1717
[!INCLUDE [api-management-availability-all-tiers](../../includes/api-management-availability-all-tiers.md)]
1818

19-
This article describes how to import an Azure Container App to Azure API Management and test the imported API by using the Azure portal.
19+
This article describes how to import an Azure container app to Azure API Management as an API and test the imported API by using the Azure portal.
2020

2121
[!INCLUDE [api-management-workspace-availability](../../includes/api-management-workspace-availability.md)]
2222

2323
In this article, you learn how to:
2424

2525
> [!div class="checklist"]
26-
> * Import a Container App that exposes a web API
26+
> * Import a container app that exposes a web API
2727
> * Test the API in the Azure portal
2828
2929
## Expose a container app by using API Management
3030

31-
[Azure Container Apps](../container-apps/overview.md) allows you to deploy containerized apps without managing complex infrastructure. API developers can write code using their preferred programming language or framework, build microservices with full support for Distributed Application Runtime (Dapr), and scale based on HTTP traffic or other events.
31+
[Azure Container Apps](../container-apps/overview.md) allows you to deploy containerized apps without managing complex infrastructure. API developers can write code with their preferred programming language or framework, build microservices with full support for Distributed Application Runtime (Dapr), and scale based on HTTP traffic or other events.
3232

3333
By using API Management to expose a web API that's hosted in a container app, you gain the following benefits:
3434

@@ -41,7 +41,7 @@ For more information, see [About API Management](api-management-key-concepts.md)
4141

4242
## OpenAPI specification vs. wildcard operations
4343

44-
API Management supports importing container apps that provide an OpenAPI specification (a Swagger definition). However, an OpenAPI specification isn't required. We recommend that you provide an OpenAPI specification. API Management can import individual operations, which allows you to validate, manage, secure, and update configurations for each operation separately.
44+
API Management supports importing container apps that provide an OpenAPI specification (a Swagger definition). An OpenAPI specification isn't required, but we recommend that you provide an one. API Management can import individual operations, which allows you to validate, manage, secure, and update configurations for each operation separately.
4545

4646
If the container app exposes an OpenAPI specification, API Management creates API operations that map directly to the definition. API Management will look in several locations for an OpenAPI specification:
4747

@@ -58,10 +58,10 @@ In either case, you can [edit](edit-api.md) or [add](add-api-manually.md) operat
5858

5959
Your backend container app might support two GET operations:
6060

61-
* `https://myappservice.azurewebsites.net/customer/{id}`
62-
* `https://myappservice.azurewebsites.net/customers`
61+
* `https://<app-service>.azurewebsites.net/customer/{id}`
62+
* `https://<app-service>.azurewebsites.net/customers`
6363

64-
You import the container app to your API Management service at a path like `https://contosoapi.azure-api.net/store`. The following table shows the operations that are imported to API Management, either with or without an OpenAPI specification:
64+
You import the container app to your API Management service at a path like `https://<api>.azure-api.net/store`. The following table shows the operations that are imported to API Management, either with or without an OpenAPI specification:
6565

6666
| Type |Imported operations |Sample requests |
6767
|---------|---------|---------|
@@ -88,7 +88,7 @@ The wildcard operation allows the same requests to the backend service as the op
8888
1. Associate the API with a product. Select **Full** and then, in **Product**, select the product. In this case, the **Unlimited** product is used. If you want the API to be published and be available to developers, you need to add it to a product.
8989

9090
> [!NOTE]
91-
> *Products* are associations of one or more APIs. You can include many APIs and offer them to developers through the developer portal. Developers must first subscribe to a product to get access to the API. When they subscribe, they get a subscription key that is good for any API in that product. If you created the API Management instance, you're an administrator and subscribed to every product by default.
91+
> *Products* are associations of one or more APIs. You can include many APIs and offer them to developers through the developer portal. Developers must first subscribe to a product to get access to the API. When they subscribe, they get a subscription key that's good for any API in that product. If you created the API Management instance, you're an administrator and subscribed to every product by default.
9292
>
9393
> In some pricing tiers, an API Management instance comes with two sample products when you create it:
9494
> * **Starter**
@@ -101,7 +101,7 @@ The wildcard operation allows the same requests to the backend service as the op
101101

102102
## Test the new API in the Azure portal
103103

104-
Operations can be called directly from the Azure portal. This method is a convenient way to view and test the operations of an API. You can also test the API in the [developer portal](api-management-howto-developer-portal.md) or by using your own REST client tools.
104+
You can call operations directly from the Azure portal. This method is a convenient way to view and test the operations of an API. You can also test the API in the [developer portal](api-management-howto-developer-portal.md) or by using your own REST client tools.
105105

106106
To test the API in the Azure portal:
107107

@@ -121,7 +121,7 @@ When wildcard operations are generated, the operations might not map directly to
121121

122122
`/api/TodoItems`
123123

124-
You can test the path `/api/TodoItems` as follows:
124+
To test the `/api/TodoItems` path:
125125

126126
1. Select the API that you created, and then select the operation.
127127
1. Select the **Test** tab.

0 commit comments

Comments
 (0)