novatrixtech / mercurius

Mercurius gives you speed when create 'Go' applications. It lets you being focused at business.
Apache License 2.0
144 stars 27 forks source link

app.go doesn't route PATCH verbs properly #15

Closed bruferrari closed 8 years ago

bruferrari commented 8 years ago

Just realized that Mercurius doesn't route PATCH verbs because doesn't exists a case "PATCH" clause when the route function is generated in conf/app/app.go, which throws a 404 Not Found error when trying to request data to any endpoint with PATCH.

Please check if it's a bug with mercurius-swagger-codegen or something like that.

Regards.

felipeweb commented 8 years ago

It is not a bug here is on https://github.com/novatrixtech/swagger-codegen

felipeweb commented 8 years ago

fix here https://github.com/novatrixtech/swagger-codegen/commit/98004c9bdffcf15e3ed10cbeca0293b00c0eb6a6