de.mvbonline.tools.restapidoc.model.ApiDoc Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of restapi-doc Show documentation
Show all versions of restapi-doc Show documentation
Creates documentation for a spring mvc RESTful api.
Output is reStructuredText for sphinx using sphinxcontrib.httpdomain
The newest version!
package de.mvbonline.tools.restapidoc.model;
import java.util.ArrayList;
import java.util.List;
public class ApiDoc {
private String name;
private String description;
private List methods;
public ApiDoc() {
this.methods = new ArrayList();
}
public void addMethod(ApiMethodDoc apiMethod) {
this.methods.add(apiMethod);
}
public String getDescription() {
return description;
}
public List getMethods() {
return methods;
}
public String getName() {
return name;
}
public void setDescription(String description) {
this.description = description;
}
public void setMethods(List methods) {
this.methods = methods;
}
public void setName(String name) {
this.name = name;
}
}