Raised originally here https://github.com/spring-projects/spring-boot/issues/13866#issuecomment-407683557 See https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#production-ready-endpoints-custom-input