asp net core web api custom model validation

后端 未结 0 1473
深忆病人
深忆病人 2021-01-01 13:54

Asp net core web API, I am trying to return a custom response for the model validator. But ValidateModelFilter is not called when the required field, not in the request.

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