com.github.kongchen.swagger.docgen.mustache
类 OutputTemplate

java.lang.Object
  继承者 com.github.kongchen.swagger.docgen.mustache.OutputTemplate

public class OutputTemplate
extends Object

Created with IntelliJ IDEA. User: kongchen Date: 3/7/13


构造方法摘要
OutputTemplate(AbstractDocumentSource docSource)
           
 
方法摘要
 void addDateType(MustacheDocument mustacheDocument, MustacheDataType dataType)
           
 List<MustacheDocument> getApiDocuments()
           
 String getApiVersion()
           
 String getBasePath()
           
 Set<MustacheDataType> getDataTypes()
           
static String getJsonSchema()
           
 void setApiVersion(String apiVersion)
           
 void setBasePath(String basePath)
           
 void setDataTypes(Set<MustacheDataType> dataTypes)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

OutputTemplate

public OutputTemplate(AbstractDocumentSource docSource)
方法详细信息

getJsonSchema

public static String getJsonSchema()

getDataTypes

public Set<MustacheDataType> getDataTypes()

addDateType

public void addDateType(MustacheDocument mustacheDocument,
                        MustacheDataType dataType)

getApiDocuments

public List<MustacheDocument> getApiDocuments()

getBasePath

public String getBasePath()

setBasePath

public void setBasePath(String basePath)

getApiVersion

public String getApiVersion()

setApiVersion

public void setApiVersion(String apiVersion)

setDataTypes

public void setDataTypes(Set<MustacheDataType> dataTypes)


Copyright © 2014. All Rights Reserved.