Describe the bug
Returning an array as the top level response from an operation causes code to be generated which does not compile.
Expected Behavior
Working code.
Current Behavior
Broken code eg:
const marshal = (statusCode: number, responseBody: any): string => {
let marshalledBody = responseBody;
switch(statusCode) {
case 200:
marshalledBody = JSON.stringify(Array<AssetResponse>ToJSON(marshalledBody));
break;
Reproduction Steps
Use spec from #863
Possible Solution
No response
Additional Information/Context
No response
PDK version used
0.23.70
What languages are you seeing this issue on?
Typescript, Java, Python
Environment details (OS name and version, etc.)
osx
Describe the bug
Returning an array as the top level response from an operation causes code to be generated which does not compile.
Expected Behavior
Working code.
Current Behavior
Broken code eg:
Reproduction Steps
Use spec from #863
Possible Solution
No response
Additional Information/Context
No response
PDK version used
0.23.70
What languages are you seeing this issue on?
Typescript, Java, Python
Environment details (OS name and version, etc.)
osx