public class ApiOperation extends Object implements Serializable
| 限定符和类型 | 字段和说明 |
|---|---|
private String |
actionKey |
private List<ApiParameter> |
apiParameters |
private ContentType |
contentType |
private Class<?> |
controllerClass |
private Method |
method |
private String |
notes |
private int |
orderNo |
private String |
paraNotes |
private String |
retMockJson |
private Map<String,List<ApiResponse>> |
retRemarks |
private ClassType |
retType |
private String |
value |
| 构造器和说明 |
|---|
ApiOperation() |
private int orderNo
private ContentType contentType
private List<ApiParameter> apiParameters
private String retMockJson
private Map<String,List<ApiResponse>> retRemarks
private Class<?> controllerClass
public ApiOperation()
public String getParaNotes()
public void setParaNotes(String paraNotes)
public int getOrderNo()
public void setOrderNo(int orderNo)
public String getActionKey()
public void setActionKey(String actionKey)
public ContentType getContentType()
public void setContentType(ContentType contentType)
public List<ApiParameter> getApiParameters()
public void setApiParameters(List<ApiParameter> apiParameters)
public void addApiParameter(ApiParameter parameter)
public boolean hasParameter()
public ClassType getRetType()
public void setRetType(ClassType retType)
public Class<?> getControllerClass()
public void setControllerClass(Class<?> controllerClass)
public void setMethodAndInfo(Method method, String controllerPath, HttpMethod[] defaultMethods, Class<?> containerClass)
private void setParameters(Method method, HttpMethod[] defaultMethods)
public String getRetMockJson()
public void setRetMockJson(String retMockJson)
public Map<String,List<ApiResponse>> getRetRemarks()
public void setRetRemarks(Map<String,List<ApiResponse>> retRemarks)
Copyright © 2024. All rights reserved.