Hi,
I don't know if it is possible, so I can do the same in the response payload.. my question is in relation of a request payload that has a list/array.
Example:
@RequestMapping(value = "/myuri", method = RequestMethod.POST)
public void category(Collection category)
The input in swagger should be:
[{
"categoryId": 123,
"categoryName": "My Category"
}]
But what ocurrs in swagger is:
{
"empty": "boolean"
}
Can you help me?
Hi,
I don't know if it is possible, so I can do the same in the response payload.. my question is in relation of a request payload that has a list/array.
Example:
@RequestMapping(value = "/myuri", method = RequestMethod.POST)
public void category(Collection category)
The input in swagger should be:
[{
"categoryId": 123,
"categoryName": "My Category"
}]
But what ocurrs in swagger is:
{
"empty": "boolean"
}
Can you help me?