Swagger
Use this action to access the APIs, and then make API calls to a service that is built using Swagger.
Using the Swagger Action
To use this action in your workflow, connect it to ThingWorx Flow. To connect to the flow, do the following:
1. Click and drag the Swagger action listed under the API Design utility on the canvas, place the pointer on the action, and then click or double-click the action. The Swagger action window opens.
2. Edit the label name, if needed. By default, the label name is same as the action name.
3. Enter the Swagger file URL, and then click Fetch to configure the underlying API.
4. Click Done.
Output Schema
The Swagger action returns an output schema as shown in the figure that follows:
Was this helpful?