Import an OpenAPI Document

This topic explains importing a new OpenAPI document (json, yaml or yml file).

An OpenAPI document, formerly known as Swagger Specification, is a standardized format for describing and documenting RESTful APIs. It serves as a machine-readable interface for RESTful web services, enabling developers to understand an API's capabilities without accessing its source code.

Executing the following steps for importing an OpenAPI document into the project:
  1. In the workbench, right-click the project and then click Import.
  2. In the Import window, select GeneralFile System.
  3. In the File System window, select Browser and search for your file.
  4. Click Finish.

The file selected for the project will appear. For more information, see Importing projects and files.