Add New Schema

You can add a new schema by clicking the + (plus) button from the toolbar or right-clicking the node named Schemas in the Schemas view, then selecting New Schema from the popup menu.


Openapi editor schemas new2.png


Then a wizard appears. Fill in the schema name, type, and optionally the description then click Finish.


Openapi editor new schema wizard.png


In that wizard, you also get the possibility to specify:

  • Whether the being created schema is an array of schemas by (un)checking the checkbox named Array of
  • Whether it's of primitive type (e.g., string or integer) or refers yet to an existing schema. Pick a type from the drop-down box right to the Array of button
  • The type format from the Format dropdown. (enabled automatically when relevant)