See https://github.com/spring-projects/spring-boot/issues/46427 for a concrete example.
If we have a primitive with a default value we can't infer, then its default is documented. We should rather not document the default at all.
Comment From: Kguswo
https://github.com/spring-projects/spring-boot/pull/46551
I just tried to fix the problem. Any feedback would be appreciated.