feat: 移除API文档认证方案配置
- 移除API文档配置中的认证方案设置
This commit is contained in:
@@ -17,14 +17,14 @@ const handler = new OpenAPIHandler(router, {
|
|||||||
title: name,
|
title: name,
|
||||||
version,
|
version,
|
||||||
},
|
},
|
||||||
components: {
|
// components: {
|
||||||
securitySchemes: {
|
// securitySchemes: {
|
||||||
bearerAuth: {
|
// bearerAuth: {
|
||||||
type: 'http',
|
// type: 'http',
|
||||||
scheme: 'bearer',
|
// scheme: 'bearer',
|
||||||
},
|
// },
|
||||||
},
|
// },
|
||||||
},
|
// },
|
||||||
},
|
},
|
||||||
docsPath: '/docs',
|
docsPath: '/docs',
|
||||||
specPath: '/spec.json',
|
specPath: '/spec.json',
|
||||||
|
|||||||
Reference in New Issue
Block a user