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
This commit is contained in:
Jan Karwowski 2023-12-09 16:41:32 +01:00
parent 99f448dd64
commit e0750a491d

View File

@ -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",