capabilities.work

Promote Spec Between Branches

A 2-step recipe with Apidog. We can help you get access.

Recipe · 2 steps

Promote Spec Between Branches

with Apidog

Promote a specification from one sprint branch to another in the same project.

  1. Export the API specification from the source sprint branch as an OpenAPI 3.0 JSON document.
  2. Import the exported document into the target sprint branch, auto-merging endpoints that already exist there.
What you'll need to have ready
  • accessToken: Apidog personal API access token used as the Bearer Token.
  • apiVersion: The Apidog API version header value (e.g. 2024-03-28).
  • projectId: The project ID that contains both branches.
  • sourceBranchId: The sprint branch ID to export the specification from.
  • targetBranchId: The sprint branch ID to import the specification into.
For your developer

Arazzo workflow apidog:promote-spec-between-branches, 2 operations: exportOpenApiData → importOpenApiData. Specs on APIs.io.