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
It appears that there's immutable attribute - path, but API accepts request without saying that such modification forbidden due to immutability nature of an attribute.
In order to fix issue it would be nice to have:
doc that reflects immutability/mutability of an attributes
make API more restrictive by returning HTTP 403 in cases when user attempts to modify immutable attribute.
The text was updated successfully, but these errors were encountered:
denismakogon
changed the title
Unable to update route path
Unable to update route path through HTTP PUT
Dec 1, 2016
Ensure that attempts to update route's path are properly handled
with a HTTP error. Moreover, updates swagger file to make it
explicit that routes are immutable.
Fixes#381
Ensure that attempts to update route's path are properly handled
with a HTTP error. Moreover, updates swagger file to make it
explicit that routes are immutable.
Fixes#381
Similar to #380 API is not restrictive, so i can create a route
And then will try to update it
So,
type
can be modified because response shows that type is changed:It appears that there's immutable attribute -
path
, but API accepts request without saying that such modification forbidden due to immutability nature of an attribute.In order to fix issue it would be nice to have:
The text was updated successfully, but these errors were encountered: