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 @@ ...@@ -11,7 +11,6 @@
"payload":{ "payload":{
"message_type": "autonomy", "message_type": "autonomy",
"planning_config_ID": 1, "planning_config_ID": 1,
"version": "v0.1.2",
"state": "start" "state": "start"
} }
} }
\ No newline at end of file
...@@ -121,11 +121,27 @@ ...@@ -121,11 +121,27 @@
"example": "autonomy", "example": "autonomy",
"type": "string" "type": "string"
}, },
"planning_config_ID": { "oneOf": [
"description": "Unique identifier of autonomy engine's planning config ID configuration plan", {
"example": 3, "properties": {
"type": "integer" "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": { "state": {
"description": "Autonomy engine instruction to start or stop model", "description": "Autonomy engine instruction to start or stop model",
"enum": [ "enum": [
...@@ -134,11 +150,6 @@ ...@@ -134,11 +150,6 @@
], ],
"example": "stop", "example": "stop",
"type": "string" "type": "string"
},
"version": {
"description": "Version of autonomy engine for given planning config ID",
"example": "v1.0.0",
"type": "string"
} }
}, },
"required": [ "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