NSwag C# client generater ignores Enum attribute

44 views Asked by At

I have an enum which is decorated with an attribute as below, but the generated client by Nswag does not has the attribute as expected. Is there a way to configure that the attribute is present in the generated client.

[Obfuscation(Exclude = true, ApplyToMembers = true)]
public enum Colour
{
  Red,
  Green,
  Yellow
}
0

There are 0 answers