diff --git a/changelog/55_UNRELEASED_2019-xx-xx.md b/changelog/55_UNRELEASED_2019-xx-xx.md index a4be6368..0ca3215f 100644 --- a/changelog/55_UNRELEASED_2019-xx-xx.md +++ b/changelog/55_UNRELEASED_2019-xx-xx.md @@ -25,6 +25,7 @@ ### 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 the response type description of the `/stock/volatile` endpoint - New endpoints for the stock transfer & stock entry edit capabilities mentioned above ### General & other improvements/fixes diff --git a/grocy.openapi.json b/grocy.openapi.json index 4fd92a4d..2c981663 100644 --- a/grocy.openapi.json +++ b/grocy.openapi.json @@ -4080,7 +4080,20 @@ "missing_products": { "type": "array", "items": { - "$ref": "#/components/schemas/CurrentStockResponse" + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "amount_missing": { + "type": "number" + }, + "is_partly_in_stock": { + "type": "integer" + } + } } } }