|
|
|
@ -140,14 +140,14 @@ export const getMethodDetails = (devMethod?: Partial<MethodDoc>) => { |
|
|
|
|
const funcToGetTemplate = (devMethodDocTemplate as any)[key]; |
|
|
|
|
|
|
|
|
|
if (!funcToGetTemplate) { |
|
|
|
|
return '' |
|
|
|
|
return ""; |
|
|
|
|
} |
|
|
|
|
const funcParameter = (devMethod as any)[key] |
|
|
|
|
const result = funcToGetTemplate(funcParameter) |
|
|
|
|
return result |
|
|
|
|
const funcParameter = (devMethod as any)[key]; |
|
|
|
|
const result = funcToGetTemplate(funcParameter); |
|
|
|
|
return result; |
|
|
|
|
}) |
|
|
|
|
.join("\n"); |
|
|
|
|
|
|
|
|
|
console.log('finalResult', finalResult) |
|
|
|
|
return finalResult |
|
|
|
|
console.log("finalResult", finalResult); |
|
|
|
|
return finalResult; |
|
|
|
|
}; |
|
|
|
|