Fixed the response type description of the /stock/volatile API endpoint (fixes #460)

This commit is contained in:
Bernd Bestel 2020-01-03 15:03:03 +01:00
parent e515f21d3b
commit 539334f5ee
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300
2 changed files with 15 additions and 1 deletions

View File

@ -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

View File

@ -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"
}
}
} }
} }
} }