mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 01:32:38 +00:00
Fixed the response type description of the /stock/volatile
API endpoint (fixes #460)
This commit is contained in:
parent
e515f21d3b
commit
539334f5ee
@ -25,6 +25,7 @@
|
|||||||
|
|
||||||
### API improvements/fixes
|
### API improvements/fixes
|
||||||
- Fixed that the route `/stock/barcodes/external-lookup/{barcode}` did not work, because the `barcode` argument was expected as a route argument but the route was missing it (thanks @Mikhail5555 and @beetle442002)
|
- Fixed that the route `/stock/barcodes/external-lookup/{barcode}` did not work, because the `barcode` argument was expected as a route argument but the route was missing it (thanks @Mikhail5555 and @beetle442002)
|
||||||
|
- Fixed the response type description of the `/stock/volatile` endpoint
|
||||||
- New endpoints for the stock transfer & stock entry edit capabilities mentioned above
|
- New endpoints for the stock transfer & stock entry edit capabilities mentioned above
|
||||||
|
|
||||||
### General & other improvements/fixes
|
### General & other improvements/fixes
|
||||||
|
@ -4080,7 +4080,20 @@
|
|||||||
"missing_products": {
|
"missing_products": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "#/components/schemas/CurrentStockResponse"
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"name": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"amount_missing": {
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
"is_partly_in_stock": {
|
||||||
|
"type": "integer"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user