title: How to Enable/Disable specific rest end point in spring boot?
body: <p>I have tried to using @ConditionalOnProperty for disable/enable the spring boot endpoint, but its not working as expected. I want to disable/enable specific end points based on conditional values not the entire controller.</p>