com.github.kongchen.swagger.docgen.spring
类 SpringMvcApiReader

java.lang.Object
  继承者 com.github.kongchen.swagger.docgen.spring.SpringMvcApiReader

public class SpringMvcApiReader
extends Object

作者:
tedleman

The use-goal of this object is to return an ApiListing object from the read() method. The listing object is populated with other api objects, contained by ApiDescriptions

Generation Order:

ApiListing ==> ApiDescriptions ==> Operations ==> Parameters ==> ResponseMessages

Models are generated as they are detected and ModelReferences are added for each


构造方法摘要
SpringMvcApiReader(ApiSource aSource, com.wordnik.swagger.converter.OverrideConverter overrideConverter)
           
 
方法摘要
 com.wordnik.swagger.model.ApiListing read(SpringResource resource, com.wordnik.swagger.config.SwaggerConfig swaggerConfig)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

SpringMvcApiReader

public SpringMvcApiReader(ApiSource aSource,
                          com.wordnik.swagger.converter.OverrideConverter overrideConverter)
方法详细信息

read

public com.wordnik.swagger.model.ApiListing read(SpringResource resource,
                                                 com.wordnik.swagger.config.SwaggerConfig swaggerConfig)
参数:
basePath -
c -
methods - Run through annotations in approved controller class to generate ApiListing This method is called from the document source class and calls the generating methods
overriderConverter -
swaggerConfig -


Copyright © 2015. All Rights Reserved.