From 2a000d330740a7e6706ec174391fcaa58442bb32 Mon Sep 17 00:00:00 2001 From: Dmitriy Gromov Date: Thu, 24 Aug 2017 15:08:23 -0400 Subject: [PATCH] More fixes --- public/swagger/swagger.json | 131 +++++------------------------------- 1 file changed, 16 insertions(+), 115 deletions(-) diff --git a/public/swagger/swagger.json b/public/swagger/swagger.json index ec1203d..ed744c3 100644 --- a/public/swagger/swagger.json +++ b/public/swagger/swagger.json @@ -47,15 +47,7 @@ "produces": [ "application/json" ], - "parameters": [ - { - "in": "header", - "name": "X-USER-ID", - "description": "the user making this request", - "required": true, - "type": "string" - } - ], + "parameters": [], "responses": { "200": { "description": "blah", @@ -80,14 +72,7 @@ "application/json" ], "parameters": [ - { - "in": "header", - "name": "X-USER-ID", - "description": "the user making this request", - "required": true, - "type": "string" - }, - { + { "in": "path", "name": "namespaceId", "description": "The name of the namespace", @@ -129,13 +114,6 @@ "application/json" ], "parameters": [ - { - "in": "header", - "name": "X-USER-ID", - "description": "the user making this request", - "required": true, - "type": "string" - }, { "in": "path", "name": "namespaceId", @@ -178,13 +156,6 @@ "application/json" ], "parameters": [ - { - "in": "header", - "name": "X-USER-ID", - "description": "the user making this request", - "required": true, - "type": "string" - }, { "in": "path", "name": "namespaceId", @@ -229,13 +200,6 @@ "application/json" ], "parameters": [ - { - "in": "header", - "name": "X-USER-ID", - "description": "the user making this request", - "required": true, - "type": "string" - }, { "in": "path", "name": "namespaceId", @@ -285,13 +249,6 @@ "application/json" ], "parameters": [ - { - "in": "header", - "name": "X-USER-ID", - "description": "the user making this request", - "required": true, - "type": "string" - }, { "in": "body", "name": "state", @@ -356,13 +313,6 @@ "application/json" ], "parameters": [ - { - "in": "header", - "name": "X-USER-ID", - "description": "the user making this request", - "required": true, - "type": "string" - }, { "in": "body", "name": "state", @@ -413,13 +363,6 @@ "application/json" ], "parameters": [ - { - "in": "header", - "name": "X-USER-ID", - "description": "the user making this request", - "required": true, - "type": "string" - }, { "in": "body", "name": "state", @@ -472,13 +415,6 @@ "application/json" ], "parameters": [ - { - "in": "header", - "name": "X-USER-ID", - "description": "the user making this request", - "required": true, - "type": "string" - }, { "in": "path", "name": "namespaceId", @@ -530,13 +466,6 @@ "application/json" ], "parameters": [ - { - "in": "header", - "name": "X-USER-ID", - "description": "the user making this request", - "required": true, - "type": "string" - }, { "in": "path", "name": "namespaceId", @@ -586,13 +515,6 @@ "application/json" ], "parameters": [ - { - "in": "header", - "name": "X-USER-ID", - "description": "the user making this request", - "required": true, - "type": "string" - }, { "in": "body", "name": "state", @@ -657,13 +579,6 @@ "application/json" ], "parameters": [ - { - "in": "header", - "name": "X-USER-ID", - "description": "the user making this request", - "required": true, - "type": "string" - }, { "in": "body", "name": "state", @@ -714,14 +629,7 @@ "application/json" ], "parameters": [ - { - "in": "header", - "name": "X-USER-ID", - "description": "the user making this request", - "required": true, - "type": "string" - }, - { + { "in": "body", "name": "state", "description": "the new state of the ruleset", @@ -773,13 +681,6 @@ "application/json" ], "parameters": [ - { - "in": "header", - "name": "X-USER-ID", - "description": "the user making this request", - "required": true, - "type": "string" - }, { "in": "path", "name": "namespaceId", @@ -842,9 +743,9 @@ "version": { "type": "integer" }, - "cutoverTime": { - "type": "string", - "format": "date-time" + "cutoverMillis": { + "type": "integer", + "format": "unixMillis" }, "mappingRules": { "type": "array", @@ -870,7 +771,7 @@ "name": { "type": "string" }, - "filters": { + "filter": { "type": "string" }, "policies": { @@ -879,16 +780,16 @@ "type": "string" } }, - "cutoverNanos": { + "cutoverMillies": { "type": "integer", - "description": "unixNanos" + "description": "unixMillies" }, "lastUpdateBy": { "type": "string" }, - "lastUpdatedNanos": { + "lastUpdatedMillis": { "type": "integer", - "description": "unixNanos" + "description": "unixMillies" } } }, @@ -902,7 +803,7 @@ "name": { "type": "string" }, - "filters": { + "filter": { "type": "string" }, "targets": { @@ -911,16 +812,16 @@ "$ref": "#/definitions/RollupTarget" } }, - "cutoverNanos": { + "cutoverMillis": { "type": "integer", - "description": "unixNanos" + "description": "unixMillis" }, "lastUpdateBy": { "type": "string" }, - "lastUpdatedNanos": { + "lastUpdatedMillis": { "type": "integer", - "description": "unixNanos" + "description": "unixMillis" } } },