forked from loafle/openapi-generator-original
fix nullable for arrays and complex types (#4106)
change csharp folder parameter from "SwaggerClient" to "OpenAPIClient"
This commit is contained in:
committed by
William Cheng
parent
8cc708011b
commit
e24030be52
@@ -1 +1 @@
|
||||
4.0.0-SNAPSHOT
|
||||
4.2.0-SNAPSHOT
|
||||
@@ -5,7 +5,7 @@ function New-Pet {
|
||||
[System.Nullable[Int64]]
|
||||
${id},
|
||||
[Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
|
||||
[System.Nullable[Org.OpenAPITools.Model.Category]]
|
||||
[Org.OpenAPITools.Model.Category]
|
||||
${category},
|
||||
[Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $true)]
|
||||
[String]
|
||||
@@ -14,7 +14,7 @@ function New-Pet {
|
||||
[String[]]
|
||||
${photoUrls},
|
||||
[Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
|
||||
[System.Nullable[Org.OpenAPITools.Model.Tag[]]]
|
||||
[Org.OpenAPITools.Model.Tag[]]
|
||||
${tags},
|
||||
[Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
|
||||
[String]
|
||||
|
||||
Reference in New Issue
Block a user