[docs]api tags i18n, update readme (#103)
This commit is contained in:
@@ -26,7 +26,7 @@ public class SwaggerConfig {
|
||||
return new Docket(DocumentationType.OAS_30)
|
||||
.apiInfo(apiInfo())
|
||||
.enable(true)
|
||||
.groupName("TanCloud")
|
||||
.groupName("HertzBeat")
|
||||
.select()
|
||||
.apis(RequestHandlerSelectors.any())
|
||||
.paths(PathSelectors.regex("(?!/error.*).*"))
|
||||
@@ -35,7 +35,7 @@ public class SwaggerConfig {
|
||||
|
||||
private ApiInfo apiInfo(){
|
||||
return new ApiInfo(
|
||||
"TanCloud",
|
||||
"HertzBeat",
|
||||
null,
|
||||
"v1.0",
|
||||
null,
|
||||
|
||||
@@ -35,7 +35,7 @@ import static org.springframework.http.MediaType.APPLICATION_JSON_VALUE;
|
||||
* @author tomsun28
|
||||
* @date 13:11 2019-05-26
|
||||
*/
|
||||
@Api(tags = "en: Authentication registration TOKEN management API,zh: 认证注册TOKEN管理API")
|
||||
@Api(tags = "Auth Manage API | 认证注册TOKEN管理API")
|
||||
@RestController()
|
||||
@RequestMapping(value = "/account/auth", produces = {APPLICATION_JSON_VALUE})
|
||||
@Slf4j
|
||||
|
||||
@@ -27,7 +27,7 @@ import static org.springframework.http.MediaType.APPLICATION_JSON_VALUE;
|
||||
* @author tomsun28
|
||||
* @date 2021/11/14 16:47
|
||||
*/
|
||||
@Api(tags = "en: Monitoring Type Management API,zh: 监控类型管理API")
|
||||
@Api(tags = "Monitor Type Manage API | 监控类型管理API")
|
||||
@RestController
|
||||
@RequestMapping(path = "/apps", produces = {APPLICATION_JSON_VALUE})
|
||||
public class AppController {
|
||||
|
||||
@@ -21,7 +21,7 @@ import static org.springframework.http.MediaType.APPLICATION_JSON_VALUE;
|
||||
* @author tom
|
||||
* @date 2021/12/4 21:40
|
||||
*/
|
||||
@Api(tags = "I18N国际化资源API")
|
||||
@Api(tags = "I18N API | I18N国际化资源API")
|
||||
@RestController
|
||||
@RequestMapping(path = "/i18n", produces = {APPLICATION_JSON_VALUE})
|
||||
public class I18nController {
|
||||
|
||||
@@ -30,7 +30,7 @@ import static org.springframework.http.MediaType.APPLICATION_JSON_VALUE;
|
||||
* @author tomsun28
|
||||
* @date 2021/11/14 10:57
|
||||
*/
|
||||
@Api(tags = "en: Monitoring management API,zh: 监控管理API")
|
||||
@Api(tags = "Monitor Manage API | 监控管理API")
|
||||
@RestController
|
||||
@RequestMapping(path = "/monitor", produces = {APPLICATION_JSON_VALUE})
|
||||
public class MonitorController {
|
||||
|
||||
@@ -35,7 +35,7 @@ import static org.springframework.http.MediaType.APPLICATION_JSON_VALUE;
|
||||
* @author tom
|
||||
* @date 2021/12/1 20:43
|
||||
*/
|
||||
@Api(tags = "en: Monitor and manage batch API,zh: 监控列表API")
|
||||
@Api(tags = "Monitor Manage Batch API | 监控列表API")
|
||||
@RestController
|
||||
@RequestMapping(path = "/monitors", produces = {APPLICATION_JSON_VALUE})
|
||||
public class MonitorsController {
|
||||
|
||||
@@ -34,7 +34,7 @@ import static org.springframework.http.MediaType.APPLICATION_JSON_VALUE;
|
||||
* @author tom
|
||||
* @date 2021/12/16 16:18
|
||||
*/
|
||||
@Api(tags = "en: Message Notification Configuration API,zh: 消息通知配置API")
|
||||
@Api(tags = "Notification Config API | 消息通知配置API")
|
||||
@RestController()
|
||||
@RequestMapping(value = "/notice", produces = {APPLICATION_JSON_VALUE})
|
||||
public class NoticeConfigController {
|
||||
|
||||
@@ -24,7 +24,7 @@ import static org.springframework.http.MediaType.APPLICATION_JSON_VALUE;
|
||||
* @author tom
|
||||
* @date 2021/12/7 15:57
|
||||
*/
|
||||
@Api(tags = "en: System Summary Statistics API,zh: 系统摘要统计API")
|
||||
@Api(tags = "Summary Statistics API | 系统摘要统计API")
|
||||
@RestController
|
||||
@RequestMapping(path = "/summary", produces = {APPLICATION_JSON_VALUE})
|
||||
public class SummaryController {
|
||||
|
||||
Reference in New Issue
Block a user