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)
           
 
方法摘要
 void addApi(MustacheApi wapi)
           
 String addModels(Map<String,com.wordnik.swagger.model.Model> modelMap)
           
 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()
           
 Set<String> getRequestTypes()
           
 String getResourcePath()
           
 Set<String> getResponseTypes()
           
 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()

setIndex

public void setIndex(int index)

addApi

public void addApi(MustacheApi wapi)

addResponseType

public void addResponseType(MustacheResponseClass clz)

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 © 2014. All Rights Reserved.