新增Postman导出

This commit is contained in:
2024-03-01 21:53:37 +08:00
parent 5cc1c349cd
commit 2aca2c3dbe
6 changed files with 354 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
const exportSwaggerController = require('./controller');
module.exports = function(){
this.bindHook('add_router', function(addRouter){
addRouter({
controller: exportSwaggerController,
method: 'get',
path: 'exportPostman',
action: 'exportData'
})
})
}