@ApiOperation(value = "获取打卡信息", notes = "获取打卡信息")
@RequestMapping(method = RequestMethod.GET, value = "/{mPhone}/{mPassword}/{date}")
@ApiImplicitParams({
@ApiImplicitParam(name = "mPhone", value = "手机号", required = true, dataType = "String",defaultValue="13268690268",paramType="Path"),
@ApiImplicitParam(name = "mPassword", value = "密码", required = true, dataType = "String",defaultValue="111111",paramType="Path"),
@ApiImplicitParam(name = "date", value = "日期", required = true, dataType = "String",defaultValue="2017-07-04",paramType="Path"),
@ApiImplicitParam(name = "httpSession", value = "Session", required = false)})
public @ResponseBody String getSignInfo(@PathVariable String mPhone, @PathVariable String mPassword,
@PathVariable String date,
HttpSession httpSession) {
.......
}
enter image description hereWie ein Sitzungsparameter in Swagger mit Springfox
Ich mag diesen Parameter entfernen (Http) aus dem Dokument verstecken, und ich brauche Hilfe.
Ihnen sehr danken. – Arison