swagger使用报错:No enum constant org.springframework.web.bind.annotation.RequestMethod.Get


Swagger报错

No enum constant org.springframework.web.bind.annotation.RequestMethod.Get

 错误写法httpMethod = "Get"

    @ApiOperation(value ="根据租id获取信息", httpMethod ="Get", response = ModuleBoxDTO.class)

改成httpMethod = "GET"

@ApiOperation(value ="根据租id获取信息", httpMethod ="GET", response = ModuleBoxDTO.class)