fix 修复 接口文档生成异常问题 将文档解析从v2升级至v3

2.X
疯狂的狮子li 3 years ago
parent e07a9a9d4d
commit 553d82ce0e

@ -27,7 +27,7 @@ security:
- /auth/xcxLogin
- /auth/register
- /resource/sms/code
- /*/v2/api-docs
- /*/v3/api-docs
- /csrf
spring:
@ -71,6 +71,13 @@ spring:
- Path=/resource/**
filters:
- StripPrefix=1
# 演示服务
- id: ruoyi-demo
uri: lb://ruoyi-demo
predicates:
- Path=/demo/**
filters:
- StripPrefix=1
# sentinel 配置
sentinel:

@ -43,13 +43,13 @@ knife4j:
routes:
- name: 系统服务
uri: ${knife4j.cloud.gatewayUri}
location: /system/v2/api-docs
location: /system/v3/api-docs
- name: 代码生成
uri: ${knife4j.cloud.gatewayUri}
location: /code/v2/api-docs
location: /code/v3/api-docs
- name: 资源服务
uri: ${knife4j.cloud.gatewayUri}
location: /resource/v2/api-docs
location: /resource/v3/api-docs
- name: 认证服务
uri: ${knife4j.cloud.gatewayUri}
location: /auth/v2/api-docs
location: /auth/v3/api-docs

Loading…
Cancel
Save