Wrapper types are not displayed in actuator env endpoint #24307
We have upgraded on off our projects at work to Spring boot 2.4. It seems like the way properties are serialized under /actuator/env had changed.
For example we used to be able to get the server.port like this:
After upgrading it instead looks like:
I tracked it to this recent commit:
I think the method stringifyIfNecessary should have branches for all the standard boxed types as well as BigDecimal and BigInteger.
To reproduce you can spin up a standard project from https://start.spring.io/ and include "Spring Web" and "Spring boot actuator" as dependencies and then visit the env endpoint.
The text was updated successfully, but these errors were encountered: