Create a Swagger Connection

Create a Connection to Swagger in Hero_Flow

    1. Open Hero_Flow.

    2. Click Connections from the menu on the left.
        

   3. Click Create New Connection.
        

   4. Give the Connection a name and select Swagger from the drop-down list for Connection type.

        

   5. The Swagger connection details screen pops up with fields that need to be configured.

  • Select the Swagger authentication type from the drop-down menu.
    • Fill out the authentication information based on the authentication type.
      • OAuth2 (Client Credentials Flow)
      • OAuth2 (Authentication Code Flow)
      • Basic Authentication
      • No Authentication
  • Click Choose file and select your Swagger file or copy and paste it into the box provided. (JSON or YAML format)
    • After selecting the file, the Swagger schema is displayed.

        

     6. Click Test connection. A confirmation message is displayed if the connection has been established in Hero_Flow.

        

     7. Click OK to finish saving the Connection in Hero_Flow.