Summary
Validate an integration model.
Description
Validate an integration model.
Route
PUT /integration-models/validation
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
model |
object |
yes |
An OpenAPI doc containing all the data for an integration model. |
Copied to Clipboard
{
"model": {
"title": "model",
"description": "Refer to OpenAPI specifications for the structure of an OpenAPI document."
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"model": {
"title": "model",
"description": "Refer to OpenAPI specifications for the structure of an OpenAPI document."
}
},
"required": [
"model"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
The output of the integration model validation process. |
Copied to Clipboard
{
"result": true
}
Copied to Clipboard
{
"title": "result",
"type": "object",
"properties": {
"status": {
"$ref": "common-schema#/definitions/success"
},
"message": {
"description": "Message containing either confirmation that the OpenAPI document is valid or validation errors related to the OpenAPI document.",
"oneOf": [
{
"type": "string"
},
{
"type": "array"
}
]
}
}
}