Open sidhant92 opened 1 day ago
My server API's use JSON.
I am using Micronaut HTTP Client which needs to send and receive XML to communicate to other services.
After adding this module on startup I am getting the following error:
Message: Error resolving property value [jackson.property-naming-strategy]. Property doesn't exist
Path Taken: new XmlStreamToObjectConverter(XmlMapper xmlMapper,ConversionService conversionService) --> new XmlStreamToObjectConverter([XmlMapper xmlMapper],ConversionService conversionService) --> XmlMapperFactory.serializers --> new OptionalValuesSerializer([JacksonConfiguration jacksonConfiguration]) --> JacksonConfiguration.setPropertyNamingStrategy([PropertyNamingStrategy propertyNamingStrategy])
jackson: property-naming-strategy: SNAKE_CASE
After removing this config it works fine. I dont want to put casing on each and every object.
Issue description
My server API's use JSON.
I am using Micronaut HTTP Client which needs to send and receive XML to communicate to other services.
After adding this module on startup I am getting the following error:
Message: Error resolving property value [jackson.property-naming-strategy]. Property doesn't exist
Path Taken: new XmlStreamToObjectConverter(XmlMapper xmlMapper,ConversionService conversionService) --> new XmlStreamToObjectConverter([XmlMapper xmlMapper],ConversionService conversionService) --> XmlMapperFactory.serializers --> new OptionalValuesSerializer([JacksonConfiguration jacksonConfiguration]) --> JacksonConfiguration.setPropertyNamingStrategy([PropertyNamingStrategy propertyNamingStrategy])
jackson: property-naming-strategy: SNAKE_CASE
After removing this config it works fine. I dont want to put casing on each and every object.