How can I enable and exposure actuator endpoints in Spring boot 2.5.8 application if I don't have access to application.properties file?
It's easy to do with application.properties file, just configuring
management.endpoints.web.exposure.include=*
But if I don't have access to application.properties, how can I do it in code?