I am using Quarkus and Microprofile OpenAPI to map entities in REST APIs. I can convert my camel case named properties to lower case with underscores in the following way:
@Schema(name = "first_name")
private String firstName;
However it is inconvenient as I have to do this everywhere across the project.
Question: Is there a way to do it automatically for all properties without having to specify the mapping in the annotation?
I went through the documentation of Quarkus and Microprofile but haven't found how it can be achieved.