The published Kotlin API documentation is wrong in 4.0. It contains the API documentation for all of the Kotlin examples from the reference documentation rather than the API documentation for the modules (spring-boot, spring-boot-test, etc) with Kotlin APIs.