Creating a REST API from an imported OpenAPI 3.0 document
To create a REST API in IBM® App Connect Enterprise, you can import an OpenAPI 3.0 document by using the IBM App Connect Enterprise Toolkit.
Before you begin
About this task
Procedure
To create a REST API by importing an OpenAPI 3.0 document, complete the following steps:
- Open the Create a REST API wizard by clicking .
- Enter a name for the REST API. The name that you specify is used as the name of the project in the IBM App Connect Enterprise Toolkit.
- Select Import resources and operations defined in a RESTAPI document and then click Next.
- Click Next.
- Select the path to the OpenAPI 3.0 document that describes
the resources and operations that you want in the REST API. You can import the OpenAPI 3.0 document from the file system or from an existing project in the workspace.The file is validated for use in a REST API. If any errors are found while the selected OpenAPI 3.0 document is validated, those validation errors are displayed at the top of the wizard. You cannot proceed if validation errors are found in the selected OpenAPI 3.0 document.
- Optional: To review the list of resources and operations that are contained in the selected OpenAPI 3.0 document, click Next.
- To finish creating the REST API, click Finish.
The REST API Description for the new REST API opens automatically, which you can use to implement operations as described in Implementing an operation for REST APIs based on OpenAPI 3.0 documents.