Description
Hello project maintainer
This is a really good module and helps us a lot in our java application, which some API need to response with XML
But during the integration with this module in our java spring boot application, some APIs response content type got unexpected changed from 'application/json' to 'application/xml' when no indication in HTTP content. before added this module everything would be returned in JSON, and everything works fine and well.
So after some research, seems some people have same issue as well,
https://stackoverflow.com/questions/41036377/spring-mvc-changing-default-response-format-from-xml-to-json
https://stackoverflow.com/questions/66752245/spring-5-jackson-dataformat-xml-forces-responsebody-with-xml
https://stackoverflow.com/questions/57706610/how-to-set-default-messageconverter-to-json-with-jackson-dataformat-xml-added
The issue is easy to resolve, either to ask the client to indicate the Accept in header or add a limitation in Java service side, both work.
But the reason still want to raise an issue here is to purpose, can the project maintainer add maybe one Warning Section/Headsup Section on the Readme page to let all of the developers know, there might have one potential check on API response after leveraging this module.
Thanks a lot.