Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
83b80f04
Commit
83b80f04
authored
Jun 08, 2022
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swagger3 鉴权调整
parent
c1fabd26
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3 additions
and
11 deletions
+3
-11
application.yml
yifu-upms/yifu-upms-biz/src/main/resources/application.yml
+1
-2
GenDsConfController.java
....plus.v1/yifu/codegen/controller/GenDsConfController.java
+0
-1
GenFormConfController.java
...lus.v1/yifu/codegen/controller/GenFormConfController.java
+0
-1
GeneratorController.java
....plus.v1/yifu/codegen/controller/GeneratorController.java
+0
-1
application.yml
yifu-visual/yifu-codegen/src/main/resources/application.yml
+2
-6
No files found.
yifu-upms/yifu-upms-biz/src/main/resources/application.yml
View file @
83b80f04
...
...
@@ -38,7 +38,6 @@ security:
-
/v3/api-docs
-
/actuator/**
-
/swagger-ui/**
-
/swagger-ui.html
...
...
@@ -73,7 +72,7 @@ springdoc:
path
:
/api-docs
swagger-ui
:
#自定义swagger前端请求路径,输入http:127.0.0.1:8080/test会自动重定向到swagger页面
path
:
/api
/upms
path
:
/api
#包扫描路径
packages-to-scan
:
com.yifu.cloud.plus.v1.yifu.admin.controller
#这里定义了两个分组,可定义多个,也可以不定义
...
...
yifu-visual/yifu-codegen/src/main/java/com/yifu.cloud.plus.v1/yifu/codegen/controller/GenDsConfController.java
View file @
83b80f04
...
...
@@ -40,7 +40,6 @@ import java.util.List;
@RequiredArgsConstructor
@RequestMapping
(
"/dsconf"
)
@Tag
(
name
=
"数据源管理模块"
)
@SecurityRequirement
(
name
=
HttpHeaders
.
AUTHORIZATION
)
public
class
GenDsConfController
{
private
final
GenDatasourceConfService
datasourceConfService
;
...
...
yifu-visual/yifu-codegen/src/main/java/com/yifu.cloud.plus.v1/yifu/codegen/controller/GenFormConfController.java
View file @
83b80f04
...
...
@@ -41,7 +41,6 @@ import org.springframework.web.bind.annotation.*;
@RequiredArgsConstructor
@RequestMapping
(
"/form"
)
@Tag
(
name
=
"表单管理"
)
@SecurityRequirement
(
name
=
HttpHeaders
.
AUTHORIZATION
)
public
class
GenFormConfController
{
private
final
GenFormConfService
genRecordService
;
...
...
yifu-visual/yifu-codegen/src/main/java/com/yifu.cloud.plus.v1/yifu/codegen/controller/GeneratorController.java
View file @
83b80f04
...
...
@@ -43,7 +43,6 @@ import java.util.Map;
@RequiredArgsConstructor
@RequestMapping
(
"/generator"
)
@Tag
(
name
=
"代码生成模块"
)
@SecurityRequirement
(
name
=
HttpHeaders
.
AUTHORIZATION
)
public
class
GeneratorController
{
private
final
GeneratorService
generatorService
;
...
...
yifu-visual/yifu-codegen/src/main/resources/application.yml
View file @
83b80f04
...
...
@@ -16,6 +16,7 @@ security:
urls
:
-
/v3/api-docs
-
/actuator/**
-
/swagger-ui/**
# 数据源配置
spring
:
config
:
...
...
@@ -34,11 +35,6 @@ spring:
resources
:
static-locations
:
classpath:/static/,classpath:/views/
# 直接放行URL
ignore
:
urls
:
-
/v2/api-docs
-
/actuator/**
springdoc
:
api-docs
:
#是否开启文档功能
...
...
@@ -47,7 +43,7 @@ springdoc:
path
:
/api-docs
swagger-ui
:
#自定义swagger前端请求路径,输入http:127.0.0.1:8080/test会自动重定向到swagger页面
path
:
/api
/codegen
path
:
/api
#包扫描路径
packages-to-scan
:
com.yifu.cloud.plus.v1.yifu.codegen.controller
#这里定义了两个分组,可定义多个,也可以不定义
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment