Closed tido64 closed 3 years ago
The object type in C# outputs a Swagger definition as below:
object
"Example": { "type": "object", "additionalProperties": { } }
additionalProperties is then passed to isVoidType() and returns true because all of the checked properties are undefined, and we end up with e.g. Dictionary<void> instead of Dictionary<{}>.
additionalProperties
isVoidType()
Dictionary<void>
Dictionary<{}>
Thanks! Merged and published as 1.10.5
The
object
type in C# outputs a Swagger definition as below:additionalProperties
is then passed toisVoidType()
and returns true because all of the checked properties are undefined, and we end up with e.g.Dictionary<void>
instead ofDictionary<{}>
.Microsoft Reviewers: Open in CodeFlow