Remove -Chronograf suffix from User & Role

pull/10616/head
Jared Scheib 2018-03-29 16:40:35 -07:00
parent 8ad6d2b0b1
commit 4a440575cc
1 changed files with 11 additions and 11 deletions

View File

@ -2507,7 +2507,7 @@
"200": { "200": {
"description": "Successfully retrieved all users from the store", "description": "Successfully retrieved all users from the store",
"schema": { "schema": {
"$ref": "#/definitions/Users-Chronograf" "$ref": "#/definitions/Users"
} }
}, },
"400": { "400": {
@ -2540,7 +2540,7 @@
"in": "body", "in": "body",
"description": "User to create", "description": "User to create",
"schema": { "schema": {
"$ref": "#/definitions/User-Chronograf" "$ref": "#/definitions/User"
} }
} }
], ],
@ -2555,7 +2555,7 @@
} }
}, },
"schema": { "schema": {
"$ref": "#/definitions/User-Chronograf" "$ref": "#/definitions/User"
} }
}, },
"400": { "400": {
@ -2610,7 +2610,7 @@
"200": { "200": {
"description": "An User object", "description": "An User object",
"schema": { "schema": {
"$ref": "#/definitions/User-Chronograf" "$ref": "#/definitions/User"
} }
}, },
"400": { "400": {
@ -2651,7 +2651,7 @@
"in": "body", "in": "body",
"description": "Updated user", "description": "Updated user",
"schema": { "schema": {
"$ref": "#/definitions/User-Chronograf" "$ref": "#/definitions/User"
}, },
"required": true "required": true
} }
@ -2667,7 +2667,7 @@
} }
}, },
"schema": { "schema": {
"$ref": "#/definitions/User-Chronograf" "$ref": "#/definitions/User"
} }
}, },
"400": { "400": {
@ -2822,7 +2822,7 @@
} }
} }
}, },
"User-Chronograf": { "User": {
"type": "object", "type": "object",
"description": "description":
"A Chronograf user with role-based access-control to an organization's resources.", "A Chronograf user with role-based access-control to an organization's resources.",
@ -2857,7 +2857,7 @@
"roles": { "roles": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/Role-Chronograf" "$ref": "#/definitions/Role"
} }
}, },
"scheme": { "scheme": {
@ -2888,7 +2888,7 @@
"superAdmin": false "superAdmin": false
} }
}, },
"Users-Chronograf": { "Users": {
"type": "object", "type": "object",
"required": ["users"], "required": ["users"],
"properties": { "properties": {
@ -2905,12 +2905,12 @@
"users": { "users": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/User-Chronograf" "$ref": "#/definitions/User"
} }
} }
} }
}, },
"Role-Chronograf": { "Role": {
"type": "object", "type": "object",
"properties": { "properties": {
"name": { "name": {