-
-
Save jimschubert/f521cbaf1f3252cf65eb37b033fbdc4b to your computer and use it in GitHub Desktop.
Running ./bin/csharp-petstore.sh on master fails to create enums as expected.
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
diff --git a/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/EnumTest.cs b/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/EnumTest.cs | |
index 663d01a2b..ea28983f7 100644 | |
--- a/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/EnumTest.cs | |
+++ b/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/EnumTest.cs | |
@@ -40,20 +40,20 @@ namespace Org.OpenAPITools.Model | |
/// <summary> | |
/// Enum UPPER for value: UPPER | |
/// </summary> | |
- [EnumMember(Value = "UPPER")] | |
- UPPER = 1, | |
+ | |
+ UPPER = UPPER, | |
/// <summary> | |
/// Enum Lower for value: lower | |
/// </summary> | |
- [EnumMember(Value = "lower")] | |
- Lower = 2, | |
+ | |
+ Lower = lower, | |
/// <summary> | |
/// Enum Empty for value: | |
/// </summary> | |
- [EnumMember(Value = "")] | |
- Empty = 3 | |
+ | |
+ Empty = | |
} | |
/// <summary> | |
@@ -71,20 +71,20 @@ namespace Org.OpenAPITools.Model | |
/// <summary> | |
/// Enum UPPER for value: UPPER | |
/// </summary> | |
- [EnumMember(Value = "UPPER")] | |
- UPPER = 1, | |
+ | |
+ UPPER = UPPER, | |
/// <summary> | |
/// Enum Lower for value: lower | |
/// </summary> | |
- [EnumMember(Value = "lower")] | |
- Lower = 2, | |
+ | |
+ Lower = lower, | |
/// <summary> | |
/// Enum Empty for value: | |
/// </summary> | |
- [EnumMember(Value = "")] | |
- Empty = 3 | |
+ | |
+ Empty = | |
} | |
/// <summary> | |
@@ -126,14 +126,14 @@ namespace Org.OpenAPITools.Model | |
/// <summary> | |
/// Enum NUMBER_1_DOT_1 for value: 1.1 | |
/// </summary> | |
- [EnumMember(Value = "1.1")] | |
- NUMBER_1_DOT_1 = 1, | |
+ | |
+ NUMBER_1_DOT_1 = 1.1, | |
/// <summary> | |
/// Enum NUMBER_MINUS_1_DOT_2 for value: -1.2 | |
/// </summary> | |
- [EnumMember(Value = "-1.2")] | |
- NUMBER_MINUS_1_DOT_2 = 2 | |
+ | |
+ NUMBER_MINUS_1_DOT_2 = -1.2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment