mirror of
https://github.com/grocy/grocy.git
synced 2026-04-05 12:26:15 +02:00
In openapi schema change type of spoiled to integer
The stock log entry type contains a spoiled field which has either 0 or 1 value. In openapi schema it was declared as boolean but the api returns a number here so it won't satisfy boolean schema requirements. Change to int.
This commit is contained in:
parent
b43051c53e
commit
14f12733fd
|
|
@ -5289,8 +5289,8 @@
|
||||||
"format": "date"
|
"format": "date"
|
||||||
},
|
},
|
||||||
"spoiled": {
|
"spoiled": {
|
||||||
"type": "boolean",
|
"type": "integer",
|
||||||
"default": false
|
"default": 0
|
||||||
},
|
},
|
||||||
"stock_id": {
|
"stock_id": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user