You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/Http/Resources/CocktailResource.php
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,9 @@
59
59
'can_rate',
60
60
'can_add_note',
61
61
]),
62
+
newOAT\Property(property: 'parent_cocktail', type: CocktailBasicResource::class, description: 'If this cocktail is a variety of existing cocktail, this will reference the original cocktail', nullable: true),
63
+
newOAT\Property(property: 'varieties', type: 'array', items: newOAT\Items(type: CocktailBasicResource::class), description: 'List of varieties of this cocktail'),
0 commit comments