feat: add returnTypeVarName and returnBaseTypeVarName to TagOperation interface and update generator function

This commit is contained in:
didavila
2026-03-24 15:37:26 +01:00
parent fc3d95052c
commit f4d9340137
2 changed files with 4 additions and 0 deletions

View File

@@ -175,6 +175,8 @@ export function generateCleanArchitecture(
bodyParam: 'body',
returnType: returnType !== 'void' ? returnType : false,
returnBaseType: returnBaseType !== 'void' ? returnBaseType : false,
returnTypeVarName: returnType !== 'void' ? toCamelCase(returnType) : false,
returnBaseTypeVarName: returnBaseType !== 'void' ? toCamelCase(returnBaseType) : false,
isListContainer: isListContainer,
vendorExtensions: {}
});