-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[csharp] Fix #1531 with non-nullable enums on operation parameters no…
…t compiling (#1543) * Run ./bin/utils/ensure-up-to-date to re-generate samples run in the CI. * Fixed issue #1531. Now in C# operation parameters are post-processed to correctly mark them as enumerations. The api.mustache C# template now marks parameters as nullable when they're non-required enums. * #1531 Added fix for enum, non-required parameters to the interface of the auto-generated C# Apis. * Fixed error with the development of ticket #1531, which duplicated nullable question marks for primitive types.
- Loading branch information
Showing
6 changed files
with
38 additions
and
12 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
2 changes: 1 addition & 1 deletion
2
samples/client/petstore/csharp/OpenAPIClientNet35/.openapi-generator/VERSION
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 |
---|---|---|
@@ -1 +1 @@ | ||
3.3.3-SNAPSHOT | ||
3.3.4-SNAPSHOT |
2 changes: 1 addition & 1 deletion
2
samples/client/petstore/csharp/OpenAPIClientNet40/.openapi-generator/VERSION
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 |
---|---|---|
@@ -1 +1 @@ | ||
3.3.3-SNAPSHOT | ||
3.3.4-SNAPSHOT |
2 changes: 1 addition & 1 deletion
2
samples/client/petstore/csharp/OpenAPIClientNetStandard/.openapi-generator/VERSION
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 |
---|---|---|
@@ -1 +1 @@ | ||
3.3.3-SNAPSHOT | ||
3.3.4-SNAPSHOT |
2 changes: 1 addition & 1 deletion
2
samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/.openapi-generator/VERSION
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 |
---|---|---|
@@ -1 +1 @@ | ||
3.3.3-SNAPSHOT | ||
3.3.4-SNAPSHOT |