docs:添加API文档跳转链接
- 在WebSocket OpenAPI文档中添加测试页面跳转链接 - 在聊天控制器中添加quickLinks对象 - 支持带参数的跳转,识别来源页面 - 完善API文档的导航体验
This commit is contained in:
@@ -364,6 +364,11 @@ export class ChatController {
|
||||
'chat_render', // 接收到聊天消息
|
||||
'error', // 通用错误
|
||||
],
|
||||
quickLinks: {
|
||||
testPage: '/websocket-test?from=chat-api',
|
||||
apiDocs: '/api-docs',
|
||||
connectionInfo: '/websocket-api/connection-info'
|
||||
},
|
||||
authRequired: true,
|
||||
tokenType: 'JWT',
|
||||
tokenFormat: {
|
||||
|
||||
Reference in New Issue
Block a user