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.


字段摘要
protected static String ARRAY
           
protected static String VOID
           
 
构造方法摘要
MustacheDocument(com.wordnik.swagger.model.ApiListing apiListing)
           
 
方法摘要
 String addModels(Map<String,com.wordnik.swagger.model.Model> modelMap)
           
 void addParameterContentTypes(MustacheContentType parameterContentTypes)
           
 void addResponseContentTypes(MustacheContentType responseContentTypes)
           
 void addResponseType(MustacheResponseClass clz)
           
 List<MustacheItem> analyzeDataTypes(String responseClass)
           
 List<MustacheParameterSet> analyzeParameters(List<com.wordnik.swagger.model.Parameter> parameters)
           
 int compareTo(MustacheDocument o)
           
 List<MustacheApi> getApis()
           
 String getDescription()
           
 int getIndex()
           
 List<MustacheContentType> getParameterContentTypes()
           
 Set<String> getRequestTypes()
           
 String getResourcePath()
           
 List<MustacheContentType> getResponseContentTypes()
           
 Set<String> getResponseTypes()
           
 void setApis(List<MustacheApi> apis)
           
 void setDescription(String description)
           
 void setIndex(int index)
           
 void setResourcePath(String resourcePath)
           
 
从类 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.