Skip to main content
Version: 1.0.0

Schemas

Schemas are mainly used for return response and body parameters (JSON/XML format) in API design. The data schema can be reused in different APIs

Displays the number of schemas being used in the created endpoints. Any endponits can use the schemas included in the project. Makes creating requests or responses easier.

schemas.png

Description of the fields in the table:

Field NameMandatoryFormatConstraintsDescription
NAMEYesTextboxSchema name
DESCRIPTIONNoTextboxDescription content of the schema

Creating a Schema​

Step 1: To create schemas, click the " " > "New Schema".

btn-create-schemas.png

Step 2: The system will display the "New Schema" screen.

create-schema.png

Step 3: Enter information for the fields.

Description of the fields:

Field NameMandatoryFormatConstraintsDescription
NAMEYesTextboxThe name of the schema
DESCRIPTIONNoTextboxDescription content of the schema

Step 4: Click the "Create" button to create the schema.

Updating a Schema​

Step 1: Click the "Edit" icon on a row.

btn-edit-schema.png

Step 2: The system will display the screen:

edit-schemas.png

Description of the fields in the table:

Field NameMandatoryFormatConstraintsDescription
NAMEYesTextboxThe name of the schema
TYPEYesTextboxData type
DESCRIPTIONNoTextboxDescription content of the schema

Step 3: Click the " " icon to add attribute fields for the schema.

Step 4: Click the " " icon to delete the attribute field.

Step 5: Click the "Save" button to save the updated information. btn-save-schema.png

Delete a Schema​

Step 1: Click the "Delete" icon on a row.

btn-delete-schema.png

Step 2: The system will display a notification screen.

delete-schema.png

Step 3: Click the "Yes" button to delete the schema.