We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 707a88d commit 029ce2cCopy full SHA for 029ce2c
modules/openapi-generator/src/main/resources/powershell/model_anyof.mustache
@@ -46,7 +46,7 @@ function ConvertFrom-{{{apiNamePrefix}}}JsonTo{{{classname}}} {
46
47
foreach($property in $matchInstance.PsObject.Properties) {
48
if ($null -ne $property.Value) {
49
- $matchType = "Dog"
+ $matchType = "{{{.}}}"
50
$match++
51
break
52
}
modules/openapi-generator/src/main/resources/powershell/model_oneof.mustache
@@ -45,7 +45,7 @@ function ConvertFrom-{{{apiNamePrefix}}}JsonTo{{{classname}}} {
45
0 commit comments