Add position property to LogViewerUIColumn Swagger definition

pull/3776/head
Alirie Gray 2018-06-28 13:41:12 -07:00
parent 28240034e5
commit e94af3abe8
1 changed files with 15 additions and 6 deletions

View File

@ -5148,13 +5148,18 @@
"type": "object",
"required": [
"name",
"encoding"
"encoding",
"position"
],
"properties": {
"name": {
"description": "Unique identifier name of the column",
"type": "string"
},
"position": {
"type": "integer",
"format": "int32"
},
"encoding": {
"description": "Composable encoding options for the column",
"type": "array",
@ -5177,6 +5182,7 @@
},
"example": {
"name": "severity",
"position": 0,
"encoding": [
{
"type": "label",
@ -5224,6 +5230,7 @@
"columns": [
{
"name": "severity",
"position": 0,
"encoding": [
{
"type": "label",
@ -5255,11 +5262,13 @@
},
{
"name": "messages",
"encoding": []
},
{
"name": "timestamp",
"encoding": []
"position": 1,
"encoding": [
{
"type": "visibility",
"value": "hidden"
}
]
}
]
}