Please ensure that your Apidog version is ≥2.7.29.
Apidog supports automatically backing up the OpenAPI / Swagger files for each module in a project to a Git repository. GitHub and GitLab are currently supported.
In the module you want to back up, go to “Overview” → “API Specification” and add an OAS.
2
Enable “Backup to Git Repository”.
3
Configure the following settings:
Git Repository Connection (select a previously created connection)
Git Branch
Target File Path (the location where the OpenAPI Spec file will be stored in the repository)
Once saved, the system will automatically push the OpenAPI Spec file for that module to the specified Git repository during a random off-peak time at night.