Commit cff09f1a authored by Trishna Saeharaseelan's avatar Trishna Saeharaseelan
Browse files

refactor: regenerate swagger and update mock message

3 merge requests!59Release v2.0.0,!57Add new Autonomy message type,!36Resolve "Create temporary mas-dt branch for initial schema refactor"
Pipeline #261974 failed with stages
in 1 minute and 50 seconds
......@@ -11,7 +11,6 @@
"payload":{
"message_type": "autonomy",
"planning_config_ID": 1,
"version": "v0.1.2",
"state": "start"
}
}
\ No newline at end of file
......@@ -121,11 +121,27 @@
"example": "autonomy",
"type": "string"
},
"planning_config_ID": {
"description": "Unique identifier of autonomy engine's planning config ID configuration plan",
"example": 3,
"type": "integer"
},
"oneOf": [
{
"properties": {
"planning_config_ID": {
"description": "Unique identifier (uuid) for this specification version generated",
"format": "uuid",
"pattern": "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}",
"type": "string"
}
}
},
{
"properties": {
"planning_config_ID": {
"description": "Unique identifier (uuid) for this specification version generated",
"example": 2,
"type": "integer"
}
}
}
],
"state": {
"description": "Autonomy engine instruction to start or stop model",
"enum": [
......@@ -134,11 +150,6 @@
],
"example": "stop",
"type": "string"
},
"version": {
"description": "Version of autonomy engine for given planning config ID",
"example": "v1.0.0",
"type": "string"
}
},
"required": [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment