com.duoec.doc.doclet.pojo.RestApi Maven / Gradle / Ivy
The newest version!
package com.duoec.doc.doclet.pojo;
import java.util.List;
/**
* @author xuwenzhen
*/
public class RestApi extends Api {
/**
* MIME类型列表
*/
private List produces;
/**
* type=restFul时有效 请求方法:GET / POST / DELETE...
*/
private List methods;
/**
* RestFul请求路径
*/
private List paths;
/**
* Graphql的DataProvider名称
*/
private String providerName;
/**
* 是否批量接口,与上面的providerName配套使用
*/
private Boolean batchProvider;
/**
* batchProvider=true时,多个ID的串连字符
*/
private String idSplitter;
/**
* 是否被标识为 GraphqlJson
*/
private Boolean graphqlJson;
public List getProduces() {
return produces;
}
public void setProduces(List produces) {
this.produces = produces;
}
public List getMethods() {
return methods;
}
public void setMethods(List methods) {
this.methods = methods;
}
public List getPaths() {
return paths;
}
public void setPaths(List paths) {
this.paths = paths;
}
public String getProviderName() {
return providerName;
}
public void setProviderName(String providerName) {
this.providerName = providerName;
}
public Boolean getBatchProvider() {
return batchProvider;
}
public void setBatchProvider(Boolean batchProvider) {
this.batchProvider = batchProvider;
}
public String getIdSplitter() {
return idSplitter;
}
public void setIdSplitter(String idSplitter) {
this.idSplitter = idSplitter;
}
public Boolean getGraphqlJson() {
return graphqlJson;
}
public void setGraphqlJson(Boolean graphqlJson) {
this.graphqlJson = graphqlJson;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy