From b42886beabe1612114471f4cdd4a64ccad761861 Mon Sep 17 00:00:00 2001 From: Marco Realacci Date: Thu, 24 Nov 2022 15:23:56 +0100 Subject: [PATCH] Add generic response string pattern --- doc/api.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/api.yaml b/doc/api.yaml index 001b4cb..7cbc487 100644 --- a/doc/api.yaml +++ b/doc/api.yaml @@ -943,7 +943,7 @@ components: example: 3 upload_time: type: string - format: RFC3339 + format: date-time description: Upload time and date in RFC3339 format. minLength: 25 maxLength: 25 @@ -1075,6 +1075,7 @@ components: properties: status: type: string + pattern: ".*" description: The status of the request. example: "Success"