public class ApiDocument extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
String |
author
文档作者.
|
String |
basePath
控制器入口路径.
|
String |
clsName
类名称.
|
ApiGroup |
root
API根节点.
|
String |
title
API标题.
|
| 构造器和说明 |
|---|
ApiDocument()
Instantiates a new api document.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ApiGroup |
findGroup(String path)
根据路径查找ApiGroup,如果不存在这个路径的对象,就在树中创建这个路径.
|
static void |
main(String[] args)
The main method.
|
void |
sort()
按照字典规则排序 Group和Entry.
|
Copyright © 2016. All rights reserved.