From: Chris Boot Date: Sun, 16 Dec 2018 14:18:19 +0000 (+0000) Subject: Swagger: fix Error object definition X-Git-Tag: rec-4.2.0-alpha1~70^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F7286%2Fhead;p=thirdparty%2Fpdns.git Swagger: fix Error object definition This corrects: - a typo of the `description` key - misuse of the `required` key for the `error` parameter --- diff --git a/docs/http-api/swagger/authoritative-api-swagger.yaml b/docs/http-api/swagger/authoritative-api-swagger.yaml index 57382c3080..bb199f302d 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