meal plan random fix

This commit is contained in:
vabene1111
2021-04-18 17:55:48 +02:00
parent 058d705170
commit a376c3a5b6
3 changed files with 10 additions and 1 deletions

View File

@ -328,6 +328,11 @@ class RecipeSchema(AutoSchema):
"description": 'true or false. If only internal recipes should be returned or not.',
'schema': {'type': 'string', },
})
parameters.append({
"name": 'random', "in": "query", "required": False,
"description": 'true or false. returns the results in randomized order.',
'schema': {'type': 'string', },
})
return parameters