add comment for going against REST

This commit is contained in:
Vishal Banthia
2015-12-07 23:06:54 +09:00
parent 25cee263b2
commit 26ad95a36e

View File

@@ -135,6 +135,8 @@ paths:
$ref: "#/definitions/ErrorResponse"
security:
- accessTokenAuth: []
# I do know this is against REST principal to use verb as endpoint. But I feel it is more easy to
# understand in comparision of using PUT/PATCH
/user/devices/{serial}/remoteConnect:
x-swagger-router-controller: user
post: