import * as Types from "@himenon/openapi-typescript-code-generator/types" ; interface Option { } const generator = ( payload , option ) : string [ ] => { return payload . map ( params => { return `function ${ params . operationId }() { console.log("${ params . comment }") }` ; } ) ; } ; const customGenerator = { generator : generator , option : { } , } ;