sonofblip
07/17/2019, 5:25 PMLocations
API?
Example:
@Location("/firstroute") // I'd like to define this class as being for both "/firstroute" and "/secondroute"
data class MyRequest(
// fields go here
)
@Location("/secondroute") // Instead I have to make a copy of the exact same class just with a different annotation, which makes me sad
data class MyRequest(
// fields go here
)