Using combinations - Cloud

Talend Cloud API Designer User Guide

Version
Cloud
Language
English
Product
Talend Cloud
Module
Talend API Designer
Content
Design and Development > Designing APIs
Last publication date
2024-01-25
Create a data type based on a combination of other data types.

Procedure

  1. Create a new data type.
  2. In Type, select one of the available combinations: allOf, oneOf, or anyOf.
    The not combination is not supported.
  3. In the Data types field, add as many data types as necessary.
  4. Optional: You can add examples and other properties.

    Example

    In this example, the Dog data types contains all the properties contained in the Pet data type, as well as some properties specific to dogs.
    The Dog data type is of type allOf with the value Pet, and it also has the bark and breed properties that are specific to dogs.
  5. Click Save.