Skip to main content

OpenAPI Import and Safe Updates

When a contract already exists as an OpenAPI document, its operations do not need to be created by hand. Import a specification into the order-processing component, inspect request and response examples, and safely reimport it.

Import and update REST interfaces from OpenAPI.

From a Manual Contract to a Specification​

The registry already contains a manually created interface. It remains intact; the import adds the operations from the file to the selected component.

Loading image...
The existing contract remains in the registry

Select Import, choose REST interfaces, and continue to the settings.

Loading image...
OpenAPI is imported as REST interfaces

Select the component, choose API Description File, and upload the JSON specification.

Loading image...
The component and specification define where and what to import

The registry now contains operations for creating, reading, and cancelling an order.

Loading image...
OpenAPI operations have been added to the selected component

Examples and Manual Refinement​

Request and response examples from the specification are available directly in the registry.

Loading image...
The imported request example is available in the registry
Loading image...
The response example helps verify the technical contract

An imported description can still be refined according to team conventions.

Loading image...
The manual clarification is saved in the model

Reimporting the same file creates no duplicates and preserves the manual clarification. Operations introduced in a later specification are added to the same registry.

Loading image...
The operation count is stable and the manual description is preserved

Next lesson: Interface Visibility Levels.

Previous lesson: Internal Actions and Alternative Outcomes.