1

I am using dxa-2.2 java, there is rest controller which takes some request and return response.

After investigation i found DxaSpringInitialization.class on dxa framework initializing objectMapper with UpperCamelCase Strategy,

objectMapper.setPropertyNamingStrategy(new UpperCamelCaseStrategy());

And since DxaSpringInitialization is being imported on App (@SpringBootApplication) like @Import({DxaSpringInitialization.class}),

Naming strategy is being applied to controller request and response.

could someone please suggest how could i use default naming strategy on specific controller

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.