ScalaConsultants/zio-scala2-quickstart.g8

Inconsistent responses for PUT and PATCH endpoints

Closed this issue · 0 comments

PUT and PATCH endpoints for both Akka HTTP and ZIO HTTP implementations should respond with 200 Ok response and a JSON representation of the modified item in the body in case of a success and 404 Not Found in case the resource to be modified doesn't exist.