Skip to main content

Schema

The schema defines the format of the request and response data. It uses the TypeSchema specification. The following example shows a simple object.

routes_update

Example

{
"definitions": {
"Student": {
"type": "object",
"properties": {
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"age": {
"type": "integer"
}
}
}
},
"$ref": "Student"
}