Skip to content

Commit

Permalink
Fix swagger.json breaking in rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredscheib committed Jul 10, 2018
1 parent 9a60875 commit 0104594
Showing 1 changed file with 81 additions and 56 deletions.
137 changes: 81 additions & 56 deletions server/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -5239,66 +5239,91 @@
"description": "Global application configuration",
"type": "object",
"properties": {
"name": {
"description": "Unique identifier name of the column",
"type": "string"
},
"position": {
"type": "integer",
"format": "int32"
"auth": {
"$ref": "#/definitions/AuthConfig"
}
},
"example": {
"auth": {
"superAdminNewUsers": true
}
}
},
"AuthConfig": {
"description": "Global application configuration for auth",
"type": "object",
"required": ["superAdminNewUsers"],
"properties": {
"superAdminNewUsers": {
"type": "boolean",
"default": true
}
},
"example": {
"superAdminNewUsers": true
}
},
"OrganizationConfig": {
"description": "Configurations for a specific organization",
"type": "object",
"required": ["logViewer"],
"properties": {
"organization": {
"type": "string",
"readOnly": true
},
"encodings": {
"description": "Composable encoding options for the column",
"type": "array",
"items": {
"description":"Type and value and optional name of an encoding",
"type": "object",
"required": ["type", "value"],
"properties": {
"type": {
"type": "string"
},
"value": {
"type": "string"
},
"name": {
"type": "string"
}
}
}
"logViewer": {
"$ref": "#/definitions/LogViewerConfig"
}
},
"example": {
"name": "severity",
"position": 0,
"encoding": [
{
"type": "label",
"value": "icon"
},
{
"type": "label",
"value": "text"
},
{
"type": "visibility",
"value": "visible"
},
{
"type": "color",
"name": "ruby",
"value": "emergency"
},
{
"type": "color",
"name": "rainforest",
"value": "info"
},
{
"type": "displayName",
"value": "Log Severity!"
}
]
"organization": "default",
"logViewer": {
"columns": [
{
"name": "severity",
"position": 0,
"encodings": [
{
"type": "label",
"value": "icon"
},
{
"type": "label",
"value": "text"
},
{
"type": "visibility",
"value": "visible"
},
{
"type": "color",
"name": "ruby",
"value": "emergency"
},
{
"type": "color",
"name": "rainforest",
"value": "info"
},
{
"type": "displayName",
"value": "Log Severity!"
}
]
},
{
"name": "messages",
"position": 1,
"encodings": [
{
"type": "visibility",
"value": "hidden"
}
]
}
]
}
}
},
"LogViewerConfig": {
Expand Down

0 comments on commit 0104594

Please sign in to comment.