From b5c6856d01a9f40d79a0eeddb5952b8cd7bd565e Mon Sep 17 00:00:00 2001 From: Jared Scheib Date: Fri, 22 Dec 2017 16:46:01 -0800 Subject: [PATCH] Add read-only props & fix organization id to be string --- server/swagger.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/server/swagger.json b/server/swagger.json index 8e6617888..72b3604b9 100644 --- a/server/swagger.json +++ b/server/swagger.json @@ -2651,7 +2651,8 @@ "description": "Self link mapping to this resource", "format": "url" } - } + }, + "readOnly": true }, "name": { "type": "string", @@ -2667,7 +2668,7 @@ ], "example": { "defaultRole": "viewer", - "id": 1, + "id": "1", "links": { "self": "/chronograf/v1/organizations/1" }, @@ -2689,7 +2690,8 @@ "description": "Self link mapping to this resource", "format": "url" } - } + }, + "readOnly": true }, "organizations": { "type": "array",