public class MethodDocumentation extends Object
| Constructor and Description |
|---|
MethodDocumentation() |
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(Parameter parameter) |
void |
addProduces(String mime) |
void |
addResponse(String code,
String description,
org.json.JSONObject schema) |
void |
addTag(String tag) |
void |
invalidate() |
boolean |
isValid() |
void |
setDescription(String desc) |
void |
setTitle(String title) |
org.json.JSONObject |
toJSON() |
public void addProduces(String mime)
public void addParameter(Parameter parameter)
public void setDescription(String desc)
public void setTitle(String title)
public void addTag(String tag)
public org.json.JSONObject toJSON()
public void invalidate()
public boolean isValid()
Copyright © 2020 Software Atelier Kamber. All rights reserved.