@@ -69,6 +69,15 @@ public static function providerEnumItemsJson(): iterable
6969 '@context ' => '/contexts/Availability ' ,
7070 '@id ' => '/availabilities/ ' .$ case ->value ,
7171 '@type ' => 'Availability ' ,
72+ 'operation ' => [
73+ [
74+ '@type ' => ['hydra:Operation ' , 'schema:FindAction ' ],
75+ 'hydra:method ' => 'GET ' ,
76+ 'hydra:title ' => 'getAvailability ' ,
77+ 'hydra:description ' => 'Retrieves a Availability resource. ' ,
78+ 'returns ' => 'Availability ' ,
79+ ],
80+ ],
7281 'value ' => $ case ->value ,
7382 ]];
7483 }
@@ -100,6 +109,15 @@ public static function providerEnumItemsJson(): iterable
100109 '@context ' => '/contexts/AvailabilityStatus ' ,
101110 '@id ' => '/availability_statuses/ ' .$ case ->value ,
102111 '@type ' => 'AvailabilityStatus ' ,
112+ 'operation ' => [
113+ [
114+ '@type ' => ['hydra:Operation ' , 'schema:FindAction ' ],
115+ 'hydra:method ' => 'GET ' ,
116+ 'hydra:title ' => 'getAvailabilityStatus ' ,
117+ 'hydra:description ' => 'Retrieves a AvailabilityStatus resource. ' ,
118+ 'returns ' => 'AvailabilityStatus ' ,
119+ ],
120+ ],
103121 'value ' => $ case ->value ,
104122 ]];
105123 }
@@ -457,6 +475,15 @@ public static function providerItem(): iterable
457475 '@context ' => '/contexts/BackedEnumIntegerResource ' ,
458476 '@id ' => '/backed_enum_integer_resources/1 ' ,
459477 '@type ' => 'BackedEnumIntegerResource ' ,
478+ 'operation ' => [
479+ [
480+ '@type ' => ['hydra:Operation ' , 'schema:FindAction ' ],
481+ 'hydra:method ' => 'GET ' ,
482+ 'hydra:title ' => 'getBackedEnumIntegerResource ' ,
483+ 'hydra:description ' => 'Retrieves a BackedEnumIntegerResource resource. ' ,
484+ 'returns ' => 'BackedEnumIntegerResource ' ,
485+ ],
486+ ],
460487 'name ' => 'Yes ' ,
461488 'value ' => 1 ,
462489 'description ' => 'We say yes ' ,
0 commit comments