Open vmastenb opened 2 years ago
Hello Vincent, when I generate the .net server using the swagger editor, I do get this file: /*
The documentation (examples, process flows and sequence diagrams) can be found at <a href=\"https://github.com/TOMP-WG/TOMP-API/\">github.
namespace IO.Swagger.Models
{
///
The generated C# code seems to compile correctly. The EnumMember-annotations are coping with the dash-problem. Does this work for you as well?
Yes, that works for me as well. So for implementation it is no issue anymore, still it is different than other enums where underscores are used instead of -dashes-
Registered for version 2.0, since it's officially a breaking issue
MUST
API Version
1.3.0
Summary
enum AccessMethods (used in object AssetProperties) contains dashes (e.g. TOMP-API or AXA-EKEY-OTP) where other enums use underscores
Expected Behavior
I would expect the same way of defining enums in the whole project
I am implementing this api in .NET, and in .Net no dashes are allowed in enums. Please change to underscore or CamelCase.