Skip to content

Commit df77620

Browse files
Merge pull request #39 from Eaternity/change-recipes-to-float
Change recipe portion fields from int to float
2 parents 1942fa7 + 9ed1217 commit df77620

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

apiary.apib

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1813,9 +1813,9 @@ Deletes this recipe from the server
18131813
|date|yyyy-mm-dd|the date the recipe is served. If **no date** is provided, **only a rating** of the recipe is returned.|best practice|
18141814
|location|string|location where the recipe is cooked. Address or country (arbitrary format) |no; kitchen location will be used|
18151815
|servings (deprecated)|int|for how many servings the ingredients are given. |no; use 'recipe-portions'|
1816-
|recipe-portions|int|for how many portions the ingredients are specified. Replaces 'servings'. |no; fallback is 1|
1817-
|production-portions|int|how many portions of the recipe are planned to be produced.| no|
1818-
|sold-portions|int|how many portions of the recipe were really sold (i.e. consumed). This is used by the prognosis endpoint to predict the sales.|no|
1816+
|recipe-portions|float|for how many portions the ingredients are specified. Replaces 'servings'. |no; fallback is 1|
1817+
|production-portions|float|how many portions of the recipe are planned to be produced.| no|
1818+
|sold-portions|float|how many portions of the recipe were really sold (i.e. consumed). This is used by the prognosis endpoint to predict the sales.|no|
18191819
|instructions|list of language objects|cooking instructions for the recipe in different languages (array of language objects)| no|
18201820
|ingredients|list of ingredients|a list of all ingredient resources in this recipe |yes|
18211821
|menu-line-name|string|A descriptor for the menu line ("Menu 1", "Garden Menu", "Vegan Menu")|no|

0 commit comments

Comments
 (0)