I am using additionalProperties in swagger because of which I am getting the output in the below format in powershell:
Path: ABC
Keys: {KeyX, KeyY}
Values: {ValueOfX, ValueOfY}
Count: 2
...
Is there any way that this can be displayed as:
Path: ABC
KeyX: ValueOfX
KeyY: ValueOfY
For expanding the additional properties this is what has been used:
$Properties = $obj | Select-Object -ExpandProperty AdditionalProperties