类 Docs
- java.lang.Object
-
- io.github.yedaxia.apidocs.Docs
-
public class Docs extends java.lang.Objectmain entrance
-
-
构造器概要
构造器 构造器 说明 Docs()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static voidbuildHtmlDocs(DocsConfig config)build html api docsstatic voidmain(java.lang.String[] args)static voidsetResponseWrapper(IResponseWrapper responseWrapper)wrap response into a common structure,don't forget to put responseNode into map.
-
-
-
方法详细资料
-
main
public static void main(java.lang.String[] args)
-
buildHtmlDocs
public static void buildHtmlDocs(DocsConfig config)
build html api docs
-
setResponseWrapper
public static void setResponseWrapper(IResponseWrapper responseWrapper)
wrap response into a common structure,don't forget to put responseNode into map. default is: { code : 0, data: ${response} msg: 'success' }- 参数:
responseWrapper-
-
-