@@ -18,6 +18,56 @@ Feature: Update properties of a resource that are inherited with standard PUT op
1818 {
1919 "@context": "/contexts/DummyMappedSubclass",
2020 "@id": "/dummy_mapped_subclasses/1",
21+ "operation": [
22+ {
23+ "@type": [
24+ "hydra:Operation",
25+ "schema:FindAction"
26+ ],
27+ "hydra:description": "Retrieves a DummyMappedSubclass resource.",
28+ "hydra:method": "GET",
29+ "hydra:title": "getDummyMappedSubclass",
30+ "returns": "owl:Nothing"
31+ },
32+ {
33+ "@type": [
34+ "hydra:Operation",
35+ "schema:ReplaceAction"
36+ ],
37+ "expects": "DummyMappedSubclass",
38+ "hydra:description": "Replaces the DummyMappedSubclass resource.",
39+ "hydra:method": "PUT",
40+ "hydra:title": "putDummyMappedSubclass",
41+ "returns": "DummyMappedSubclass"
42+ },
43+ {
44+ "@type": "hydra:Operation",
45+ "hydra:method": "PATCH",
46+ "hydra:title": "patchDummyMappedSubclass",
47+ "hydra:description": "Updates the DummyMappedSubclass resource.",
48+ "expects": "DummyMappedSubclass",
49+ "expectsHeader": [
50+ {
51+ "headerName": "Content-Type",
52+ "possibleValue": [
53+ "application/merge-patch+json",
54+ "application/vnd.api+json"
55+ ]
56+ }
57+ ],
58+ "returns": "DummyMappedSubclass"
59+ },
60+ {
61+ "@type": [
62+ "hydra:Operation",
63+ "schema:DeleteAction"
64+ ],
65+ "hydra:description": "Deletes the DummyMappedSubclass resource.",
66+ "hydra:method": "DELETE",
67+ "hydra:title": "deleteDummyMappedSubclass",
68+ "returns": "owl:Nothing"
69+ }
70+ ],
2171 "@type": "DummyMappedSubclass",
2272 "id": 1,
2373 "foo": "updated value"
0 commit comments