capabilities.work

Downgrade OpenAPI Version

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

Recipe · 2 steps

Downgrade OpenAPI Version

with Apidog

Import an OpenAPI spec and export it at a lower OpenAPI version.

  1. Import the source specification into the staging project, overwriting any existing endpoints so the export reflects exactly this document.
  2. Export the project at the requested lower OpenAPI version and format.
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 staging project ID to import into and export from.
  • openapiInput: The source OpenAPI specification as a JSON or YAML string.
  • targetOasVersion: The OpenAPI version to downgrade the export to.
  • exportFormat: Output format of the exported document.
For your developer

Arazzo workflow apidog:downgrade-oas-version, 2 operations: importOpenApiData → exportOpenApiData. Specs on APIs.io.