How to scaffold a pipeline using an OpenAPI specification
Learn more about how to scaffold a pipeline using an OpenAPI specification on the Digibee Integration Platform.
Last updated
Learn more about how to scaffold a pipeline using an OpenAPI specification on the Digibee Integration Platform.
Last updated
On the Digibee Integration Platform, you can create a scaffolded pipeline using an existing OpenAPI specification file. This automatically pre-configures the routes and sets up part of the flow, allowing you to speed up the creation of pipelines while ensuring that best practices for data flow creation are followed.
On the Build page, click Create, then select Pipeline from OpenAPI.
In the pop-up window, upload a YAML or JSON file. You can upload the file by dragging and dropping or browsing your computer.
On the next page, you will see a preview of the route list. Review the information to ensure it’s correct. If something is incorrect, click Upload a different file to select a new file with the correct configuration.
Once you’re confident with the configuration, click Confirm.
After confirming, you cannot upload a new file. However, you can manually edit the routes in the API Trigger configuration form within the pipeline.
After importing the OpenAPI specification file, the scaffolded pipeline will include the following elements:
The API Trigger, which serves as the entry point for initiating the pipeline.
A visual representation of the routes, each connected to a Router for managing different paths.
Block Execution connectors at the end of each route, logically organizing the pipeline into subflows to improve flow management and clarity.
Response handling within the OnProcess and OnException subflows of each Block Execution, facilitating more structured error and process management.
In the scaffolded pipeline, the trigger is pre-configured with the necessary routes. However, additional configurations must be done manually to ensure the trigger functions as you need. For detailed instructions on configuring the trigger, refer to the API Trigger documentation.
While part of the flow is already scaffolded, you will need to implement the integration logic by configuring the subflows of the Block Execution connectors at the end of each route. This approach helps ensure that your integration follows best practices and remains manageable.
You can edit the routes at any time through the trigger's configuration form. Once you have saved the trigger, any changes will be reflected immediately in the pipeline.
If you change the API Trigger to another type of trigger, the Router is converted into a Choice connector, and the previously configured routes will be connected to the Choice instead. You can copy the connectors within each Block Execution and paste them elsewhere in the pipeline as needed.