Added changes of #601 to grocy.openapi.json

This commit is contained in:
Bernd Bestel
2020-04-13 16:57:06 +02:00
parent 25be604b31
commit 7d9bad58b5

View File

@@ -3500,6 +3500,10 @@
},
"shopping_location_id": {
"type": "integer"
},
"userfields": {
"type": "object",
"description": "Key/value pairs of userfields"
}
},
"example": {
@@ -3521,7 +3525,8 @@
"enable_tare_weight_handling": "0",
"tare_weight": "0.0",
"not_check_stock_fulfillment_for_recipes": "0",
"shopping_location_id": null
"shopping_location_id": null,
"userfields": null
}
},
"QuantityUnit": {
@@ -3545,6 +3550,10 @@
},
"plural_forms": {
"type": "string"
},
"userfields": {
"type": "object",
"description": "Key/value pairs of userfields"
}
},
"example": {
@@ -3553,7 +3562,8 @@
"description": null,
"row_created_timestamp": "2019-05-02 20:12:25",
"name_plural": "Pieces",
"plural_forms": null
"plural_forms": null,
"userfields": null
}
},
"Location": {
@@ -3571,13 +3581,18 @@
"row_created_timestamp": {
"type": "string",
"format": "date-time"
},
"userfields": {
"type": "object",
"description": "Key/value pairs of userfields"
}
},
"example": {
"id": "2",
"name": "0",
"description": null,
"row_created_timestamp": "2019-05-02 20:12:25"
"row_created_timestamp": "2019-05-02 20:12:25",
"userfields": null
}
},
"ShoppingLocation": {
@@ -3595,13 +3610,18 @@
"row_created_timestamp": {
"type": "string",
"format": "date-time"
},
"userfields": {
"type": "object",
"description": "Key/value pairs of userfields"
}
},
"example": {
"id": "2",
"name": "0",
"description": null,
"row_created_timestamp": "2019-05-02 20:12:25"
"row_created_timestamp": "2019-05-02 20:12:25",
"userfields": null
}
},
"StockLocation": {
@@ -4069,6 +4089,10 @@
"row_created_timestamp": {
"type": "string",
"format": "date-time"
},
"userfields": {
"type": "object",
"description": "Key/value pairs of userfields"
}
}
},
@@ -4095,6 +4119,10 @@
"row_created_timestamp": {
"type": "string",
"format": "date-time"
},
"userfields": {
"type": "object",
"description": "Key/value pairs of userfields"
}
}
},
@@ -4169,6 +4197,10 @@
"row_created_timestamp": {
"type": "string",
"format": "date-time"
},
"userfields": {
"type": "object",
"description": "Key/value pairs of userfields"
}
}
},
@@ -4376,6 +4408,10 @@
"row_created_timestamp": {
"type": "string",
"format": "date-time"
},
"userfields": {
"type": "object",
"description": "Key/value pairs of userfields"
}
}
},