java - Evaluation and advice for improvement of the REST controller -
i wrote rest controller message management https://pastebin.com/xuhgnlvw .i ask opinion on names of addresses, number of objects , whole controller. think such rest controller ok or should improved?
@getmapping(value = "/sent/{id}") @getmapping(value = "/received/{id}") @deletemapping(value = "/sent") @deletemapping(value = "/received") @getmapping(value = "/sent/search") @getmapping(value = "/received/search") @getmapping(value = "/sent/list") @getmapping(value = "/received/list")
is such division of addresses ok?
Comments
Post a Comment