News · Feb 20, 2023

Criteria now supports OpenAPI v3.1

We are excited to announce that the Criteria now supports OpenAPI v3.1 files. OpenAPI v3.1 is the latest version of OpenAPI and comes with several advantages over OpenAPI v3.0, including:

With this release, you can import OpenAPI v3.1 files in Criteria, where you can iterate on the design of the API collaboratively, and export the files to your source control system as valid OpenAPI v3.1 documents.

Getting started

Here’s how you can import OpenAPI v3.1 files and edit them:

  1. In the Design tab, click the Create menu then choose Import OpenAPI.
  2. Choose the OpenAPI v3.1 file to be imported.
  3. Click Import.

Import OpenAPI v3.1

To export the file:

  1. In the API view, click Export OpenAPI.
  2. Choose either JSON or YAML format.
  3. Click Export to download the file.

Export OpenAPI v3.1

You can also access OpenAPI v3.1 definitions without importing a file. Here's how:

  1. In the Design tab, click Create.
  2. Enter the name and initial version of your API.
  3. Click Create.
  4. When the created API appears, click OpenAPI to view and edit the OpenAPI definition.

We’d love to hear what you think about this update. Contact us at feedback@criteria.sh to share your thoughts and feedback around your use cases.

Try Criteria now →