Using JSON editor in OpenAPI builder
You can create or edit the OpenAPI specification (OAS) in the JSON format or in the visual+AI format. The changes that you make in any of the views are reflected in the remaining ones.
In the following GIF, when you edit the property type
from Integer
to String
in the JSON view, the same gets reflected in the Visual+AI view and OpenAPI view.

Following are the steps to create or edit the OAS in JSON format:
- In the OpenAPI builder home page, select any of the following options according to your requirement.
- In the editor page, set the JSON view to on.
- Type your changes in the OpenAPI specification.
- Click Apply changes.
What to do next
After you make the required changes, you can:
-
Download the specification to import into watsonx Orchestrate or other OpenAPI tools.
-
Import OAS to watsonx Orchestrate to create or enhance skills.