I'm using Kotlin & Spring Boot (with gradle) and have a few DTO data classes in Kotlin that I'd like to produce a .d.ts file from when I build my webapp.
I really don't have anything special in my Gradle file, it's the standard Kotlin -> Spring Boot gradle from initilzr
Everything I can find talks about Javascript specific projects, but I'd like to be able to generate .d.ts files for my DTOs so I don't have to manually maintain the definitions in the javascript client(s)
Any ideas on doing this?