Search code examples
spring-bootspring-boot-actuator

Spring boot actuator optional parameter with default value


Is there an alternative to this:

@RequestParam(required = false, defaultValue = "NA") in actuator 
@WriteOperation request body/query param?

Solution

  • We should be able to make the request params optional using org.springframework.lang.Nullable annotation.