Using combinations - Cloud

Talend Cloud API Designer User Guide

Version
Cloud
Language
English (United States)
Product
Talend Cloud
Module
Talend API Designer
Content
Design and Development > Designing APIs
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.
  5. Click Save.