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