Spring Rest Controller: Accept single object and array under one URL

前端 未结 0 392
别那么骄傲
别那么骄傲 2021-01-03 04:05

I am currently working with a REST API that contains a mapping similar to this:

@PostMapping("/ExampleObjects")
void mapping(@RequestBody ExampleObj         


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