如何在swagger中隐藏参数?

swagger-ui 美化版 - 阿_闯 - 博客园

实例字段上忽略 (For Fields)

@ApiModelProperty(required = false, hidden = true)
private String hiddenProperty

方法上忽略( For Apis)

@ApiIgnore
public class MyApi {}

(方法参数上忽略)For Parameters

public void getApi(@ApiIgnore String param){}

@ApiModelProperty(hidden="true")
public String paramInsideClass