com.github.kongchen.swagger.docgen.mustache
类 MustacheDocument
java.lang.Object
com.github.kongchen.swagger.docgen.mustache.MustacheDocument
- 所有已实现的接口:
- Comparable<MustacheDocument>
public class MustacheDocument
- extends Object
- implements Comparable<MustacheDocument>
Created with IntelliJ IDEA.
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VOID
protected static final String VOID
- 另请参见:
- 常量字段值
ARRAY
protected static final String ARRAY
- 另请参见:
- 常量字段值
MustacheDocument
public MustacheDocument(com.wordnik.swagger.model.ApiListing apiListing)
setResourcePath
public void setResourcePath(String resourcePath)
setDescription
public void setDescription(String description)
getResourcePath
public String getResourcePath()
getDescription
public String getDescription()
getApis
public List<MustacheApi> getApis()
getRequestTypes
public Set<String> getRequestTypes()
getResponseTypes
public Set<String> getResponseTypes()
getIndex
public int getIndex()
getResponseContentTypes
public List<MustacheContentType> getResponseContentTypes()
getParameterContentTypes
public List<MustacheContentType> getParameterContentTypes()
setIndex
public void setIndex(int index)
setApis
public void setApis(List<MustacheApi> apis)
addResponseType
public void addResponseType(MustacheResponseClass clz)
addResponseContentTypes
public void addResponseContentTypes(MustacheContentType responseContentTypes)
addParameterContentTypes
public void addParameterContentTypes(MustacheContentType parameterContentTypes)
analyzeParameters
public List<MustacheParameterSet> analyzeParameters(List<com.wordnik.swagger.model.Parameter> parameters)
analyzeDataTypes
public List<MustacheItem> analyzeDataTypes(String responseClass)
compareTo
public int compareTo(MustacheDocument o)
- 指定者:
- 接口
Comparable<MustacheDocument> 中的 compareTo
addModels
public String addModels(Map<String,com.wordnik.swagger.model.Model> modelMap)
Copyright © 2015. All Rights Reserved.