Skip to content

Commit 22ee473

Browse files
authored
Azure Logic Apps: Clarify OpenAPI supported version
1 parent 3ab5c26 commit 22ee473

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

articles/connectors/connectors-native-http-swagger.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Connect to REST endpoints from Azure Logic Apps
3-
description: Connect to REST endpoints from automated workflows in Azure Logic Apps.
2+
title: Call or connect to REST endpoints from workflows
3+
description: Learn how to call or connect to REST endpoints from workflows in Azure Logic Apps.
44
services: logic-apps
55
ms.suite: integration
66
ms.reviewer: estfan, azla
@@ -9,15 +9,15 @@ ms.date: 11/01/2019
99
tags: connectors
1010
---
1111

12-
# Call REST endpoints by using Azure Logic Apps
12+
# Call REST endpoints from workflows in Azure Logic Apps
1313

14-
With [Azure Logic Apps](../logic-apps/logic-apps-overview.md) and the built-in **HTTP + Swagger** operation, you can create automated integration workflows that regularly call any REST endpoint through a [Swagger file](https://swagger.io). The **HTTP + Swagger** trigger and action work the same as the [HTTP trigger and action](connectors-native-http.md) but provide a better experience in the workflow designer by exposing the API structure and outputs described by the Swagger file. To implement a polling trigger, follow the polling pattern that's described in [Create custom APIs to call other APIs, services, and systems from logic app workflows](../logic-apps/logic-apps-create-api-app.md#polling-triggers).
14+
With the built-in **HTTP + Swagger** operation and [Azure Logic Apps](../logic-apps/logic-apps-overview.md), you can create automated integration workflows that regularly call any REST endpoint through a [Swagger file](https://swagger.io). The **HTTP + Swagger** trigger and action work the same as the [HTTP trigger and action](connectors-native-http.md) but provide a better experience in the workflow designer by exposing the API structure and outputs described by the Swagger file. To implement a polling trigger, follow the polling pattern that's described in [Create custom APIs to call other APIs, services, and systems from logic app workflows](../logic-apps/logic-apps-create-api-app.md#polling-triggers).
1515

1616
## Prerequisites
1717

1818
* An account and Azure subscription. If you don't have an Azure subscription, [sign up for a free Azure account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
1919

20-
* The URL for the Swagger (not OpenAPI) file that describes the target REST endpoint that you want to call
20+
* The URL for the Swagger file (OpenAPI 2.0, not OpenAPI 3.0) that describes the target REST endpoint that you want to call
2121

2222
Typically, the REST endpoint has to meet the following criteria for the trigger or action to work:
2323

@@ -30,9 +30,11 @@ With [Azure Logic Apps](../logic-apps/logic-apps-overview.md) and the built-in *
3030
The examples in this topic use the [Cognitive Services Face API](../cognitive-services/face/overview.md), which requires a [Cognitive Services account and access key](../cognitive-services/cognitive-services-apis-create-account.md).
3131

3232
> [!NOTE]
33-
> To reference a Swagger file that's unhosted or that doesn't meet the security and cross-origin requirements, you can [upload the Swagger file to a blob container in an Azure storage account](#host-swagger), and enable CORS on that storage account so that you can reference the file.
33+
> To reference a Swagger file that's unhosted or that doesn't meet the security and cross-origin requirements,
34+
> you can [upload the Swagger file to a blob container in an Azure storage account](#host-swagger), and enable
35+
> CORS on that storage account so that you can reference the file.
3436
35-
* The logic app workflow from where you want to call the target endpoint. To start with the **HTTP + Swagger** trigger, create a blank logic app workflow. To use the HTTP + Swagger action, start your workflow with any trigger that you want. This example uses the **HTTP + Swagger** trigger as the first step.
37+
* The logic app workflow from where you want to call the target endpoint. To start with the **HTTP + Swagger** trigger, create a blank logic app workflow. To use the **HTTP + Swagger** action, start your workflow with any trigger that you want. This example uses the **HTTP + Swagger** trigger as the first step.
3638

3739
If you're new to logic app workflows, review [What is Azure Logic Apps?](../logic-apps/logic-apps-overview.md) and [how to create your first logic app workflow](../logic-apps/quickstart-create-first-logic-app-workflow.md).
3840

@@ -66,7 +68,7 @@ This built-in trigger sends an HTTP request to a URL for a Swagger file that des
6668

6769
1. To add other available parameters, open the **Add new parameter** list, and select the parameters that you want.
6870

69-
For more information about authentication types available for HTTP + Swagger, see [Add authentication to outbound calls](../logic-apps/logic-apps-securing-a-logic-app.md#add-authentication-outbound).
71+
For more information about authentication types available for HTTP + Swagger, review [Add authentication to outbound calls](../logic-apps/logic-apps-securing-a-logic-app.md#add-authentication-outbound).
7072

7173
1. Continue building your workflow with actions that run when the trigger fires.
7274

@@ -106,7 +108,7 @@ This built-in action sends an HTTP request to the URL for the Swagger file that
106108

107109
1. To add other available parameters, open the **Add new parameter** list, and select the parameters that you want.
108110

109-
For more information about authentication types available for HTTP + Swagger, see [Add authentication to outbound calls](../logic-apps/logic-apps-securing-a-logic-app.md#add-authentication-outbound).
111+
For more information about authentication types available for HTTP + Swagger, review [Add authentication to outbound calls](../logic-apps/logic-apps-securing-a-logic-app.md#add-authentication-outbound).
110112

111113
1. When you're finished, remember to save your logic app workflow. On the designer toolbar, select **Save**.
112114

@@ -145,9 +147,9 @@ This section provides more information about the outputs from an **HTTP + Swagge
145147

146148
| Property name | Type | Description |
147149
|---------------|------|-------------|
148-
| headers | object | The headers from the request |
149-
| body | object | The object with the body content from the request |
150-
| status code | int | The status code from the request |
150+
| **headers** | Object | The headers from the request |
151+
| **body** | Object | The object with the body content from the request |
152+
| **status code** | Integer | The status code from the request |
151153
||||
152154

153155
| Status code | Description |

0 commit comments

Comments
 (0)