Location

@Target([AnnotationTarget.CLASS, AnnotationTarget.TYPEALIAS]) annotation class Location

Annotation for classes that will act as typed routes.

Constructors

<init>

Location(path: String)

Annotation for classes that will act as typed routes.

Properties

path

val path: String

the route path, including class property names wrapped with curly braces.