Skip to content

Commit 8bff866

Browse files
committed
Polish
See gh-16199
1 parent 4030090 commit 8bff866

File tree

1 file changed

+2
-1
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator

1 file changed

+2
-1
lines changed

spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator/endpoints.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,8 @@ include-code::../MyEndpoint[tag=write]
418418
TIP: Because endpoints are technology agnostic, only simple types can be specified in the method signature.
419419
In particular, declaring a single parameter with a `CustomData` type that defines a `name` and `counter` properties is not supported.
420420

421-
NOTE: To let the input be mapped to the operation method's parameters, Java code that implements an endpoint should be compiled with `-parameters`, and Kotlin code that implements an endpoint should be compiled with `-java-parameters`.
421+
NOTE: To let the input be mapped to the operation method's parameters, Java code that implements an endpoint should be compiled with `-parameters`.
422+
For Kotlin code, please review {url-spring-framework-docs}/languages/kotlin/classes-interfaces.html[the recommendation] of the Spring Framework reference.
422423
This will happen automatically if you use Spring Boot's Gradle plugin or if you use Maven and `spring-boot-starter-parent`.
423424

424425

0 commit comments

Comments
 (0)