Importing OpenAPI Specifications

The selection phase of the OpenAPI Import Wizard enables you to specify appropriate JADE names for the items being imported.

When generating REST API proxy classes based on an OpenAPI specification:

When you have imported the OpenAPI specification, JADE classes, methods, properties, and constants are generated for the items selected from the specification. For details about the abstract grouping class names, see "Abstract Grouping Classes", in Chapter 4 of the JADE External Interface Developer's Reference.

The OpenAPI Import Wizard is a wizard‑style dialog that consists of five steps, each represented by a sheet of the dialog. Use the Next > and < Back buttons to navigate forwards or backwards through the steps. Other than the first and last steps, each step provides default values that enable you to move to the next step.

OpenAPI objects are generated as subclasses of the JadeRestProxy class.

To import an OpenAPI specification

  1. Select the OpenAPI command from the Components menu. The OpenAPI submenu is then displayed.

  2. Select the Import command from the OpenAPI submenu of the Components menu or right‑click on the OpenAPI sheet and then select the Import command from the context (popup) menu.

The OpenAPI Import Wizard, which is then displayed, systematically guides you through the import process. When all of the information has been gathered, the wizard generates all of the required classes, properties, and methods that you need to access the REST API from JADE.

2020.0.01 and higher