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
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300

View File

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