-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support enum integers in powershell client (#12752)
- Loading branch information
Showing
7 changed files
with
108 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
samples/client/petstore/powershell/src/PSPetstore/Model/OuterEnumDefaultValue.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# | ||
# OpenAPI Petstore | ||
# This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: "" \ | ||
# Version: 1.0.0 | ||
# Generated by OpenAPI Generator: https://openapi-generator.tech | ||
# | ||
|
||
<# | ||
.SYNOPSIS | ||
Enum OuterEnumDefaultValue. | ||
.DESCRIPTION | ||
No description available. | ||
#> | ||
|
||
enum OuterEnumDefaultValue { | ||
# enum value: "placed" | ||
placed | ||
# enum value: "approved" | ||
approved | ||
# enum value: "delivered" | ||
delivered | ||
} | ||
|
26 changes: 26 additions & 0 deletions
26
samples/client/petstore/powershell/src/PSPetstore/Model/OuterEnumInteger.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# | ||
# OpenAPI Petstore | ||
# This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: "" \ | ||
# Version: 1.0.0 | ||
# Generated by OpenAPI Generator: https://openapi-generator.tech | ||
# | ||
|
||
<# | ||
.SYNOPSIS | ||
Enum OuterEnumInteger. | ||
.DESCRIPTION | ||
No description available. | ||
#> | ||
|
||
enum OuterEnumInteger { | ||
# enum value: "0" | ||
NUMBER_0 | ||
# enum value: "1" | ||
NUMBER_1 | ||
# enum value: "2" | ||
NUMBER_2 | ||
} | ||
|
26 changes: 26 additions & 0 deletions
26
samples/client/petstore/powershell/src/PSPetstore/Model/OuterEnumIntegerDefaultValue.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# | ||
# OpenAPI Petstore | ||
# This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: "" \ | ||
# Version: 1.0.0 | ||
# Generated by OpenAPI Generator: https://openapi-generator.tech | ||
# | ||
|
||
<# | ||
.SYNOPSIS | ||
Enum OuterEnumIntegerDefaultValue. | ||
.DESCRIPTION | ||
No description available. | ||
#> | ||
|
||
enum OuterEnumIntegerDefaultValue { | ||
# enum value: "0" | ||
NUMBER_0 | ||
# enum value: "1" | ||
NUMBER_1 | ||
# enum value: "2" | ||
NUMBER_2 | ||
} | ||
|