Closed
Description
I am trying to understand why NamingHelper
is making a decision about POST method name based on whether the tail
is singular or plural.
It's very easy to fix, so I'll gladly do it if it's Ok.
As a result of this issue what we have is:
@RequestMapping(value = "/{bookingRef}/ogoneIframe", method = RequestMethod.POST)
public ResponseEntity<OgoneIframeResponseDto> updateOgoneIframe(...)
even though POST should normally be used for creation.
I would understand it if the decision would have been made based on whether the id
is present in the url, but it's not the case.
@stojsavljevic , can you take a look and come up with a suggestion?