From 1eabd29105c703ba430002cb8e82369de56d55f5 Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Sun, 15 Jul 2018 13:57:27 +0200 Subject: [PATCH] Describe new API function --- grocy.openapi.json | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/grocy.openapi.json b/grocy.openapi.json index db41715e..43c12d3e 100644 --- a/grocy.openapi.json +++ b/grocy.openapi.json @@ -721,6 +721,37 @@ } } }, + "/recipes/add-not-fulfilled-products-to-shopping-list/{recipeId}": { + "get": { + "description": "Adds all missing products for the given recipe to the shopping list", + "tags": [ + "Recipes" + ], + "parameters": [ + { + "in": "path", + "name": "recipeId", + "required": true, + "description": "A valid recipe id", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "A VoidApiActionResponse object", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VoidApiActionResponse" + } + } + } + } + } + } + }, "/habits/track-habit-execution/{habitId}": { "get": { "description": "Tracks an execution of the given habit",