capabilities.work

Consolidate Sources Into One Project

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

Recipe · 3 steps

Consolidate Sources Into One Project

with Apidog

Merge an OpenAPI spec and a Postman Collection into a single project and export it.

  1. Import the OpenAPI/Swagger specification into the project, auto-merging endpoints that already exist.
  2. Import the Postman Collection into the same project, auto-merging endpoints that already exist.
  3. Export the consolidated project as a single OpenAPI 3.0 JSON document.
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 to consolidate both sources into.
  • openapiInput: The OpenAPI/Swagger specification as a JSON or YAML string.
  • postmanCollection: The Postman Collection v2 data as a stringified JSON string.
For your developer

Arazzo workflow apidog:consolidate-sources-into-project, 3 operations: importOpenApiData → importPostmanCollectionData → exportOpenApiData. Specs on APIs.io.