mirror of
https://github.com/grocy/grocy.git
synced 2026-03-28 07:39:25 +01: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"
|
||||
},
|
||||
"spoiled": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
"type": "integer",
|
||||
"default": 0
|
||||
},
|
||||
"stock_id": {
|
||||
"type": "string"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user