Forum Discussion

vp2's avatar
vp2
Frequent Visitor
5 years ago

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.

  • 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.