REST API multiple errors response best practice

前端 未结 0 1480
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-06 20:52

I\'m building a rest api using Express with the following architecture:

Routes->Validation(Joi)->Controller->Service->Model(Mongoose)

Now,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题