What's the most concise way to do a @Configuration...
# spring
e
What's the most concise way to do a @ConfigurationProperties class with Kotlin? I tried this and it didn't seem to work:
Copy code
@Component
@ConfigurationProperties("myservice")
data class MyServiceProperties(var url: String, var username: String, var password: String)