2021
10-12
10-12
swagger如何返回map字段注释
1.效果图如下:2.controller层代码:importjava.util.HashMap;importjava.util.Map;importorg.springframework.stereotype.Controller;importorg.springframework.web.bind.annotation.RequestMapping;importorg.springframework.web.bind.annotation.RequestMethod;importorg.springframework.web.bind.annotation.RestController;importcom.mengyoou.core.serialize.ResponseMsg;importio.swagger.annotations.Api;i...
继续阅读 >