Spring boot document configuration properties

Viewed 147

I'm trying to automatically document my configuration properties in order to create a html like the one on spring boot appendix for it's configuration. I see that I can enable configuration metadata here https://docs.spring.io/spring-boot/docs/2.6.6/reference/html/configuration-metadata.html but what i want is to create a html page like we can do with spring rest docs for the api. Is there a way to achieve this using spring or have I to do it manually (maybe starting from the metadata)?

1 Answers

The Spring Boot Actuator will show your properties but the default output is JSON. You should be able to add custom code to produce the output you want.

Related