[fix][project] Fix the issue of SpringDoc not working. (#2081)

This commit is contained in:
beat4ocean
2025-02-20 18:31:50 +08:00
committed by GitHub
parent 5a22590661
commit 1155ac10d8
3 changed files with 31 additions and 21 deletions

View File

@@ -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/**
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