In this article
...
Downloading the Open API file
...
Prerequisite
You must have write permissions for a project; otherwise, the Open API menu menu option is disabled.
Steps
In the SnapLogic Manager, browse to your project folder that has the pipelines for which you want to download the Open API .yaml and .json files.
Note The downloaded API consists of all the Ultra and Triggered tasks in the selected project.
Click the project folder and select Open API to download the related API.
Select the download format (.yaml or .json) and select the tasks you want to include. You can exclude tasks by deselecting them from the list.
Note The .yaml and .json files have the Swagger specs of all the tasks across pipelines in the said project folder.
You can view the downloaded API (.yaml or .json) file in any text editor or the Swagger editor.
...
Error/Cause | Solution |
---|---|
No triggered or ultra tasks found in project | Create at least one working triggered or ultra task for a pipeline in the project folder |
No node available for the selected Snaplex | The associated Snaplex in the task must have at least one running node |
Pipeline not found for ID | A task must be part of a pipeline in the project |
Cannot find plex for runtime path | The selected Snaplex must be available while creating the task |
Permission denied | The SnapLogic user must have either Read and Write, Full Access, or Owner permission to create an Open API file |
Validation errors | There should be no validation errors in the pipelines of the said project folder |
...