Forum Discussion

souvik06's avatar
souvik06
New Member
8 months ago

How to generate parametrized enums using swagger

I want to generate a parametrized enum like below using openapi 3.0

public enum Test

{

ASSOCIATE("Assoc"),
BORROWER("Borr");

}

 

The Values are different from the keys. Can someone suggest a way?

No RepliesBe the first to reply