Skip to main content Skip to complementary content

Creating a component

Create a component to be reused in several elements in your API.

Procedure

  1. Open your API and click the COMPONENTS tab in the left panel.
  2. Click the + button to the right of the element for which you want to create a component.
    You can also create a component by clicking the + button to the right of the API name and selecting a type of component.
  3. Enter a Name and a Type for your component.

    Example

    Example of creating a component called id with the type string.
  4. Optional: Add more attributes.
  5. Click Save.

Results

Your component is created. You can now use it in the corresponding elements.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!