Forum Discussion
No RepliesBe the first to reply
Related Content
- 5 years ago
- 2 years ago
Recent Discussions
- 4 days ago
- 26 days ago
Hi,
I am trying to define enum in yaml for swagger to get java enum as following. I tried googling but couldn't find anything. Can someone help me?
public enum MyEnum {
VAL1("a", "b", "c"),
VAL2("d", "e", "f");
private final String p1;
private final String p2;
private final String p3;
// Rest of the code
}