cancel
Showing results for 
Search instead for 
Did you mean: 

Displaying ENUM in lower/camelCase

SOLVED
Frequent Visitor

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. 

Tags (3)
1 ACCEPTED SOLUTION

Accepted Solutions
Moderator

Re: Displaying ENUM 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.


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓

View solution in original post

1 REPLY 1
Moderator

Re: Displaying ENUM 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.


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors