Hope this helps.
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
网友评论