api2go icon indicating copy to clipboard operation
api2go copied to clipboard

Incosistent behaviour on Methods of Partial CRUD Methods

Open sharpner opened this issue 7 years ago • 0 comments

I stumbled upon this: https://github.com/manyminds/api2go/blob/master/api_interfaces_test.go#L335 https://github.com/manyminds/api2go/blob/master/api_interfaces_test.go#L440

which seems to have slipped through our eyes. Every tests checks for 405 (even though the description state 404) except the first one for create.

We should investigate what's happening here. If you ask me, every route should return 405 if the route is registered but the method is not.

sharpner avatar Oct 26 '17 17:10 sharpner