Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
polysoft-nafmii
/
polysoft-parent
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 30a42ed0
authored
Apr 28, 2021
by
孙长庆
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
swagger包路径修改
1 parent
ee181aa8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
nafmii-admin/src/main/java/org/nafmii/admin/swagger/SwaggerConfig.java
nafmii-admin/src/main/java/org/nafmii/admin/swagger/SwaggerConfig.java
View file @
30a42ed
...
@@ -25,7 +25,7 @@ public class SwaggerConfig {
...
@@ -25,7 +25,7 @@ public class SwaggerConfig {
// String basePackage = ADMIN_SWAGGER;// 要暴露的API接口的基础包名
// String basePackage = ADMIN_SWAGGER;// 要暴露的API接口的基础包名
return
new
Docket
(
DocumentationType
.
SWAGGER_2
)
return
new
Docket
(
DocumentationType
.
SWAGGER_2
)
.
select
()
.
select
()
.
apis
(
RequestHandlerSelectors
.
basePackage
(
"org.nafmii.admin"
))
.
apis
(
RequestHandlerSelectors
.
basePackage
(
"org.nafmii.admin
.user
"
))
.
paths
(
PathSelectors
.
any
())
.
paths
(
PathSelectors
.
any
())
.
build
()
.
build
()
.
apiInfo
(
apiInfo
())
.
apiInfo
(
apiInfo
())
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment