File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
dev/tests/acceptance/tests/functional/Magento/FunctionalTest Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 30
30
</object >
31
31
</operation >
32
32
33
- <operation name =" UpdateCategory" dataType =" category" type =" update" auth =" adminOauth" url =" /V1/categories" method =" PUT" >
33
+ <operation name =" UpdateCategory" dataType =" category" type =" update" auth =" adminOauth" url =" /V1/categories/{id} " method =" PUT" >
34
34
<contentType >application/json</contentType >
35
+ <param key =" id" type =" path" >{id}</param >
35
36
<object key =" category" dataType =" category" >
36
37
<field key =" id" >integer</field >
37
38
<field key =" parent_id" >integer</field >
54
55
</object >
55
56
</operation >
56
57
57
- <operation name =" DeleteCategory" dataType =" category" type =" delete" auth =" adminOauth" url =" /V1/categories" method =" DELETE" >
58
+ <operation name =" DeleteCategory" dataType =" category" type =" delete" auth =" adminOauth" url =" /V1/categories/{id} " method =" DELETE" >
58
59
<contentType >application/json</contentType >
59
- <param key =" categoryId " type =" path" >{id}</param >
60
+ <param key =" id " type =" path" >{id}</param >
60
61
</operation >
61
62
</config >
Original file line number Diff line number Diff line change 25
25
</object >
26
26
</operation >
27
27
28
- <operation name =" DeleteCoupon" dataType =" coupon" type =" delete" auth =" adminOauth" url =" /rest/V1/coupons" method =" DELETE" >
28
+ <operation name =" DeleteCoupon" dataType =" coupon" type =" delete" auth =" adminOauth" url =" /rest/V1/coupons/{couponId} " method =" DELETE" >
29
29
<header param =" Content-Type" >application/json</header >
30
- <param key =" couponId" type =" path" >{coupon_id }</param >
30
+ <param key =" couponId" type =" path" >{couponId }</param >
31
31
</operation >
32
32
</config >
You can’t perform that action at this time.
0 commit comments