From 67b12fc7afe0c6a6871f63981bde8b7ac1cddcf2 Mon Sep 17 00:00:00 2001 From: Vojtech Mares Date: Sat, 4 May 2024 15:00:24 +0200 Subject: [PATCH] feat(api): add validation for training.days - minimum 1 - maximum 5 --- api/v1/openapi.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/v1/openapi.yaml b/api/v1/openapi.yaml index 4631db9..ea06188 100644 --- a/api/v1/openapi.yaml +++ b/api/v1/openapi.yaml @@ -155,6 +155,8 @@ components: days: type: integer format: int32 + minimum: 1 + maximum: 5 required: - name - days