Define & Validate APIs

Transform Formats

Convert your API definition between OpenAPI, RAML, Postman, WSDL, and more.

The APIMatic API Transformer converts API definitions between formats such as OpenAPI, RAML, and API Blueprint, so you can use tools built for other formats without rewriting your definition by hand.

Transform with the APIMatic CLI

apimatic api transform --format=<format> --file=<path>

You can pass --url instead of --file, and --destination to choose where the output is written. See the CLI Reference for all flags.

How the APIMatic API Transformer works

  1. Your API definition is imported.
  2. The imported definition is validated.
  3. If validation passes, it's converted to the format you asked for.

Note: Transforming a definition runs import validation, but it doesn't add the API to your APIMatic Dashboard the way an explicit import does.

Input formats

FormatVersionsFile type
OpenAPI / Swagger3.1, 3.0, 2.0, 1.xJSON / YAML
RAML1.0, 0.8YAML
Postman Collection2.0, 1.0JSON
Insomnia3JSON / YAML
HAR1.2JSON
API Blueprint1AMarkdown
WADL2009XML
WSDL1.1XML
Google Discovery—JSON
I/O Docs (Mashery)—JSON
APIMATIC—JSON

Output formats

FormatVersionsFile type
OpenAPI / Swagger3.1, 3.0, 2.0, 1.2JSON / YAML
RAML1.0, 0.8YAML
Postman Collection2.0, 1.0JSON
Insomnia3JSON / YAML
API Blueprint1AMarkdown
WSDL1.1XML
WADL2009XML
GraphQL Schema—GraphQL
APIMATIC—JSON

On this page