create routes file creator
still needs some adjustments for GET requests
This commit is contained in:
@ -62,7 +62,7 @@ function getFuncParams(view: EndpointDef): string[] {
|
||||
});
|
||||
|
||||
return combinedList.map((param) => {
|
||||
return param.param || '';
|
||||
return param.param || ''; // both lists have already been filtered so the value should never return as an empty string
|
||||
});
|
||||
}
|
||||
|
||||
@ -80,5 +80,7 @@ interface ParamDef {
|
||||
}
|
||||
|
||||
export {
|
||||
createServiceFunc
|
||||
createServiceFunc,
|
||||
getFuncParams,
|
||||
buildServiceFunctionName
|
||||
}
|
Reference in New Issue
Block a user