param.ignore

  • 忽略API参数

添加对swagger @ApiParam支持

param.ignore=@io.swagger.annotations.ApiParam#hidden

demo

@RestController
@RequestMapping(value = "mock")
public class MockCtrl {

    /**
    * Mock String
    */
    @GetMapping("/string")
    public String mockString(
            @ApiParam(value = "seed for mock",hidden = true)  long seed) {
        return Result.success("mock string");
    }

}