|
|
@@ -3,6 +3,9 @@ package org.leumasjaffe.recipe.model;
|
|
|
import java.util.Collection;
|
|
|
import java.util.stream.Stream;
|
|
|
|
|
|
+import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
|
+
|
|
|
+@JsonIgnoreProperties("ingredientsAsStream")
|
|
|
interface RecipeComponent {
|
|
|
Collection<Ingredient> getIngredients();
|
|
|
Duration getDuration();
|