feat: delete a user
This commit is contained in:
14
server/modules/rendering/openapi-core/renderer.js
Normal file
14
server/modules/rendering/openapi-core/renderer.js
Normal file
@@ -0,0 +1,14 @@
|
||||
const _ = require('lodash')
|
||||
|
||||
module.exports = {
|
||||
async render() {
|
||||
let output = this.input
|
||||
|
||||
for (let child of this.children) {
|
||||
const renderer = require(`../${_.kebabCase(child.key)}/renderer.js`)
|
||||
output = await renderer.init(output, child.config)
|
||||
}
|
||||
|
||||
return output
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user