From d9a89195652186773e22ea256a73a03e5328ae87 Mon Sep 17 00:00:00 2001 From: Marco Realacci Date: Thu, 24 Nov 2022 15:20:47 +0100 Subject: [PATCH] Add date_time lenghts --- doc/api.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/api.yaml b/doc/api.yaml index 6139f59..001b4cb 100644 --- a/doc/api.yaml +++ b/doc/api.yaml @@ -943,8 +943,10 @@ components: example: 3 upload_time: type: string - format: date-time - description: Upload time and date. + format: RFC3339 + description: Upload time and date in RFC3339 format. + minLength: 25 + maxLength: 25 likes: type: integer example: 90