mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 09:39:57 +00:00
Added missing shopping_list_id for ShoppingListItem in grocy.openapi.json (fixes #1451)
This commit is contained in:
parent
7133c85deb
commit
95d212a076
@ -4034,63 +4034,63 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/print/shoppinglist/thermal": {
|
||||
"get": {
|
||||
"summary": "Prints the shoppinglist with a thermal printer",
|
||||
"tags": [
|
||||
"Print"
|
||||
],
|
||||
"parameters": [
|
||||
{
|
||||
"in": "query",
|
||||
"name": "list",
|
||||
"required": false,
|
||||
"description": "Shopping list id",
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"default": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"in": "query",
|
||||
"name": "printHeader",
|
||||
"required": false,
|
||||
"description": "Prints grocy logo if true",
|
||||
"schema": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Returns OK if the printing was successful",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"result": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "The operation was not successful",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/Error400"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
"/print/shoppinglist/thermal": {
|
||||
"get": {
|
||||
"summary": "Prints the shoppinglist with a thermal printer",
|
||||
"tags": [
|
||||
"Print"
|
||||
],
|
||||
"parameters": [
|
||||
{
|
||||
"in": "query",
|
||||
"name": "list",
|
||||
"required": false,
|
||||
"description": "Shopping list id",
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"default": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"in": "query",
|
||||
"name": "printHeader",
|
||||
"required": false,
|
||||
"description": "Prints grocy logo if true",
|
||||
"schema": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Returns OK if the printing was successful",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"result": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "The operation was not successful",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/Error400"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
"internalSchemas": {
|
||||
@ -4864,6 +4864,9 @@
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"shopping_list_id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"product_id": {
|
||||
"type": "integer"
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user