增加 swagger starter
This commit is contained in:
@@ -16,8 +16,8 @@
|
||||
<modules>
|
||||
<module>system-application</module>
|
||||
<module>system-sdk</module>
|
||||
<module>system-service-api</module>
|
||||
<module>system-service-impl</module>
|
||||
<!-- <module>system-service-api</module>-->
|
||||
<!-- <module>system-service-impl</module>-->
|
||||
<module>system-rpc-api</module>
|
||||
<module>system-rpc</module>
|
||||
<module>system-rest</module>
|
||||
|
||||
@@ -25,15 +25,10 @@
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- TODO 实现自己的 starter -->
|
||||
<dependency>
|
||||
<groupId>io.springfox</groupId>
|
||||
<artifactId>springfox-swagger2</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.xiaoymin</groupId>
|
||||
<artifactId>swagger-bootstrap-ui</artifactId>
|
||||
<groupId>cn.iocoder.mall</groupId>
|
||||
<artifactId>mall-spring-boot-starter-swagger</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
@@ -3,3 +3,10 @@ server:
|
||||
port: 18083
|
||||
servlet:
|
||||
context-path: /system-api/
|
||||
|
||||
# Swagger 配置项
|
||||
swagger:
|
||||
title: 管理员子系统
|
||||
description: 管理员子系统
|
||||
version: 1.0.0
|
||||
base-package: cn.iocoder.mall.system.rest.controller
|
||||
|
||||
Reference in New Issue
Block a user