Closed ghost closed 3 years ago
When using a tool like https://openapi-generator.tech/docs/generators/csharp-netcore to generate code from the schema files, some enum values are generated with the same id.
For example :
Both result in :
/// <summary> /// Enum _80 for value: 8.0 /// </summary> [EnumMember(Value = "8.0")] _80 = 5,
...
/// <summary> /// Enum _80 for value: 80 /// </summary> [EnumMember(Value = "80")] _80 = 27,
This commit corrects values so they are in the same format and eliminate duplicate ids.
When using a tool like https://openapi-generator.tech/docs/generators/csharp-netcore to generate code from the schema files, some enum values are generated with the same id.
For example :
Both result in :
...
This commit corrects values so they are in the same format and eliminate duplicate ids.