diff --git a/launchers/standalone/pom.xml b/launchers/standalone/pom.xml index 0aff338c0..f4d8322ee 100644 --- a/launchers/standalone/pom.xml +++ b/launchers/standalone/pom.xml @@ -18,23 +18,14 @@ - org.springdoc - springdoc-openapi-starter-webmvc-ui - 2.1.0 - - - org.springframework - spring-expression - - - org.springframework - spring-beans - - - org.springframework - spring-webmvc - - + com.github.xiaoymin + knife4j-openapi3-jakarta-spring-boot-starter + 4.5.0 + + + jakarta.xml.bind + jakarta.xml.bind-api + 4.0.2 com.tencent.supersonic diff --git a/launchers/standalone/src/main/resources/application.yaml b/launchers/standalone/src/main/resources/application.yaml index 620c4f7a0..20a370147 100644 --- a/launchers/standalone/src/main/resources/application.yaml +++ b/launchers/standalone/src/main/resources/application.yaml @@ -30,9 +30,29 @@ logging: springdoc: swagger-ui: path: /swagger-ui.html - enabled: true + tags-sorter: alpha + operations-sorter: alpha api-docs: path: /v3/api-docs - enabled: true + group-configs: + - group: 'default' + paths-to-match: '/**' packages-to-scan: com.tencent.supersonic - paths-to-match: /api/chat/**,/api/semantic/** \ No newline at end of file + paths-to-match: /api/chat/**,/api/semantic/** + +knife4j: + enable: true + openapi: + title: 'SuperSonic API Documentation' + description: 'SuperSonic API Documentation' + version: v1.0 + setting: + language: zh-CN +# basic: +# enable: true +# username: test +# password: 123456# + documents: + default: + title: ChatBI API Documents + description: ChatBI API Documents \ No newline at end of file diff --git a/pom.xml b/pom.xml index 4d366e3a4..12f6c5818 100644 --- a/pom.xml +++ b/pom.xml @@ -78,7 +78,6 @@ 2.27.1 false 4.2.1 - 3.0.0 1.12.780