但是,我使用Swagger作为文档。Model有一个带有Map类型的属性。Swagger显示此属性作为对象(而不是特定类型)。那么,我如何告诉Swagger,这个属性来自Map类型?public class Model { private Map<Integer, String> myMap;
public Models
<String, String[]>,它处理这个请求。sendTestAnswers(@PathVariable final long id, @RequestParam final Map<String, String[]> data, final HttpServletRequestrequest, final Model model) {}
但在数据中,我看到了Map<String, Str