capabilities.work

Import Spec From URL And Verify

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

Recipe · 2 steps

Import Spec From URL And Verify

with Apidog

Import a spec from a URL and verify by exporting it back.

  1. Import the specification fetched from the supplied URL into the project, auto-merging endpoints that already exist.
  2. Export the project as an OpenAPI 3.0 JSON document to verify the imported specification is present.
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 import into and export from.
  • specUrl: URL pointing to the OpenAPI/Swagger specification file.
For your developer

Arazzo workflow apidog:import-from-url-and-verify, 2 operations: importOpenApiData → exportOpenApiData. Specs on APIs.io.