Swagger document enums as ky-value pairs

前端 未结 0 1700
小蘑菇
小蘑菇 2021-01-28 16:06

I want to document my API enum as a key-value data strcutre where the key is the int value of the enum and the value is the constant name.

For example having this enum

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