From e0750a491de02d686d06bd2eaa9a6c15db239e92 Mon Sep 17 00:00:00 2001 From: Jan Karwowski Date: Sat, 9 Dec 2023 16:41:32 +0100 Subject: [PATCH] In Openapi schema mark fields that return only date as date next_due_data and last_uset were using date-time format instead of date --- grocy.openapi.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grocy.openapi.json b/grocy.openapi.json index c21c0aa5..07bb5869 100644 --- a/grocy.openapi.json +++ b/grocy.openapi.json @@ -4753,7 +4753,7 @@ }, "last_used": { "type": "string", - "format": "date-time" + "format": "date" }, "stock_amount": { "type": "number" @@ -4763,7 +4763,7 @@ }, "next_due_date": { "type": "string", - "format": "date-time" + "format": "date" }, "last_price": { "type": "number",