mirror of
https://github.com/grocy/grocy.git
synced 2026-04-04 03:46:16 +02:00
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:
parent
99f448dd64
commit
e0750a491d
|
|
@ -4753,7 +4753,7 @@
|
||||||
},
|
},
|
||||||
"last_used": {
|
"last_used": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "date-time"
|
"format": "date"
|
||||||
},
|
},
|
||||||
"stock_amount": {
|
"stock_amount": {
|
||||||
"type": "number"
|
"type": "number"
|
||||||
|
|
@ -4763,7 +4763,7 @@
|
||||||
},
|
},
|
||||||
"next_due_date": {
|
"next_due_date": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "date-time"
|
"format": "date"
|
||||||
},
|
},
|
||||||
"last_price": {
|
"last_price": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user