set
This entity tracks children under the label denoted by key.
Example
classes {
filter(Regex("^sift\\.core\\.api\\.testdata"))
annotatedBy<RestController>()
entity(controller)
methods {
annotatedBy<Endpoint>()
entity(endpoint, label("\${http-method} \${path}"),
property("http-method", readAnnotation(Endpoint::method)),
property("path", readAnnotation(Endpoint::path)))
// relating endpoints to controllers
controller["endpoints"] = endpoint
}
}
Content copied to clipboard