How to return all valid enum values to API client as JSON when using custom validation annotation

后端 未结 0 997
栀梦
栀梦 2020-12-20 06:16

I need to return to API client list of valid DecisionStates when the client passes invalid string that cannot be mapped to DecisionStates enum.

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