Swagger codegen Spring boot- Enum inside an object is null when an invalid emum is sent instead of a 400 response

前端 未结 0 1247
我寻月下人不归
我寻月下人不归 2021-01-23 00:48

I am using swagger version 2. I have an enum in an object inside a body object. When I send an invalid enum, it just becomes null and enters the controller method instead of a 4

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