All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.mvbonline.tools.restapidoc.model.ApiDoc Maven / Gradle / Ivy

Go to download

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;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy