From 6f71389fcb92d6483016699f16566aa76d6e0ddd Mon Sep 17 00:00:00 2001 From: Bobby Sharp Date: Thu, 28 Sep 2023 11:54:48 -0400 Subject: [PATCH] MODFQMMGR-28: Fix api-lint errors --- src/main/resources/swagger.api/schemas/error.json | 1 - src/main/resources/swagger.api/schemas/errors.json | 1 - src/main/resources/swagger.api/schemas/parameters.json | 4 +--- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main/resources/swagger.api/schemas/error.json b/src/main/resources/swagger.api/schemas/error.json index 97a99a9f..2fceaa45 100644 --- a/src/main/resources/swagger.api/schemas/error.json +++ b/src/main/resources/swagger.api/schemas/error.json @@ -15,7 +15,6 @@ "description": "Error message code" }, "parameters": { - "type": "object", "description": "Error message parameters", "$ref": "parameters.json" } diff --git a/src/main/resources/swagger.api/schemas/errors.json b/src/main/resources/swagger.api/schemas/errors.json index 26243496..1aaff512 100644 --- a/src/main/resources/swagger.api/schemas/errors.json +++ b/src/main/resources/swagger.api/schemas/errors.json @@ -7,7 +7,6 @@ "id": "errors", "type": "array", "items": { - "type": "object", "$ref": "error.json" } }, diff --git a/src/main/resources/swagger.api/schemas/parameters.json b/src/main/resources/swagger.api/schemas/parameters.json index 23d8eace..f1164b75 100644 --- a/src/main/resources/swagger.api/schemas/parameters.json +++ b/src/main/resources/swagger.api/schemas/parameters.json @@ -2,8 +2,6 @@ "description": "List of key/value parameters of an error", "type": "array", "items": { - "type": "object", "$ref": "parameter.json" - }, - "additionalProperties": false + } }