NET core 2.0 Swagger & Enum Display

前端 未结 0 2003
长情又很酷
长情又很酷 2020-12-04 15:08

i have the next enum :

public enum DataTypes { [Description("All")] All, Man, Woman }

and i want to achive next :

to display

相关标签:
回答
  • 消灭零回复
提交回复
热议问题