Skip to content

Commit 2bd7835

Browse files
committed
Reference javax.annotation.Nonnull support in reference guide
See gh-24647
1 parent 1e9bfd0 commit 2bd7835

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/production-ready-features.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ Operations on an endpoint receive input via their parameters.
467467
When exposed via the web, the values for these parameters are taken from the URL's query parameters and from the JSON request body.
468468
When exposed via JMX, the parameters are mapped to the parameters of the MBean's operations.
469469
Parameters are required by default.
470-
They can be made optional by annotating them with `@org.springframework.lang.Nullable`.
470+
They can be made optional by annotating them with either `@javax.annotation.Nonnull` or `@org.springframework.lang.Nullable`.
471471

472472
Each root property in the JSON request body can be mapped to a parameter of the endpoint.
473473
Consider the following JSON request body:

0 commit comments

Comments
 (0)