From d2eac3234c982f8ef2c60d555cb97251c2319c6f Mon Sep 17 00:00:00 2001 From: Chris Boot Date: Sun, 16 Dec 2018 14:18:19 +0000 Subject: [PATCH] Swagger: fix Error object definition This corrects: - a typo of the `description` key - misuse of the `required` key for the `error` parameter --- docs/http-api/swagger/authoritative-api-swagger.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/http-api/swagger/authoritative-api-swagger.yaml b/docs/http-api/swagger/authoritative-api-swagger.yaml index 57382c308..bb199f302 100644 --- a/docs/http-api/swagger/authoritative-api-swagger.yaml +++ b/docs/http-api/swagger/authoritative-api-swagger.yaml @@ -1258,17 +1258,18 @@ definitions: Error: title: Error - descripton: 'Returned when the server encounters an error. Either in client input or internally' + description: 'Returned when the server encounters an error. Either in client input or internally' properties: error: type: string description: 'A human readable error message' - required: true errors: type: array items: type: string description: 'Optional array of multiple errors encountered during processing' + required: + - error CacheFlushResult: title: CacheFlushResult -- 2.49.0