Forum Discussion

vp2's avatar
vp2
Frequent Visitor
4 years ago
Solved

Displaying ENUM in lower/camelCase

Hi there,
Hope you're having a nice day.
We use swagger ui and spring boot in our project. In our REST webservice, we have ENUM as parameter. On UI side, these enums are displayed in UPPER case because that's how they are defined in code. Is there a way to control how they are displayed on swagger ui. We want to display them in lower/camelCase. 

  • They will be displayed the way the API expects to get them. If your API supports getting them in lower/camelCase, then that's where it needs to be updated.

1 Reply

  • They will be displayed the way the API expects to get them. If your API supports getting them in lower/camelCase, then that's where it needs to be updated.