1
This commit is contained in:
@@ -3,8 +3,9 @@
|
||||
* 基于 node-core-framework 的配置
|
||||
*/
|
||||
|
||||
const baseConfig = require('./config.js');
|
||||
const customSchemas = require('./custom.schemas.js');
|
||||
const baseConfig = require("./config.js");
|
||||
const customSchemas = require("./custom.schemas.js");
|
||||
const beforeInitApi = require("./before_init_api");
|
||||
|
||||
module.exports = {
|
||||
// ===== 必需配置 =====
|
||||
@@ -119,6 +120,9 @@ module.exports = {
|
||||
|
||||
|
||||
// 自定义 Swagger Schemas
|
||||
customSchemas: customSchemas
|
||||
customSchemas: customSchemas,
|
||||
|
||||
// 路由流水线早期回调:注册转发等 addRoutes(勿在 init 之后散落注册)
|
||||
beforeInitApi,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user