@extk/expressive 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -1
- package/dist/index.mjs +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -207,7 +207,9 @@ function buildExpressive(container, swaggerDoc) {
|
|
|
207
207
|
container.logger.info(message.trim());
|
|
208
208
|
} } }
|
|
209
209
|
));
|
|
210
|
-
app.use(configs.swagger.path, import_swagger_ui_express.default.serve, import_swagger_ui_express.default.setup(configs.swagger.doc
|
|
210
|
+
app.use(configs.swagger.path, import_swagger_ui_express.default.serve, import_swagger_ui_express.default.setup(configs.swagger.doc, {
|
|
211
|
+
customSiteTitle: configs.swagger.doc.info?.title
|
|
212
|
+
}));
|
|
211
213
|
return app;
|
|
212
214
|
},
|
|
213
215
|
expressiveRouter(configs) {
|
package/dist/index.mjs
CHANGED
|
@@ -142,7 +142,9 @@ function buildExpressive(container, swaggerDoc) {
|
|
|
142
142
|
container.logger.info(message.trim());
|
|
143
143
|
} } }
|
|
144
144
|
));
|
|
145
|
-
app.use(configs.swagger.path, swaggerUi.serve, swaggerUi.setup(configs.swagger.doc
|
|
145
|
+
app.use(configs.swagger.path, swaggerUi.serve, swaggerUi.setup(configs.swagger.doc, {
|
|
146
|
+
customSiteTitle: configs.swagger.doc.info?.title
|
|
147
|
+
}));
|
|
146
148
|
return app;
|
|
147
149
|
},
|
|
148
150
|
expressiveRouter(configs) {
|