How do we send a custom response json when we use joi validator

前端 未结 0 2002
小鲜肉
小鲜肉 2021-01-01 03:42

At the moment my code is something as follows. But I am unable to return a json object. In an ideal scenario I want my custom response to be as shown below in the post.

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