我无法在groovy / grails中将动态字符串设置为Annotation值
import io.swagger.annotations.ApiModelProperty
class ProjectSearchRequest {
String firstName ="prasanjeet"
String lastName ="debnath"
String dynamicString = firstName + " - " + lastName
@ApiModelProperty(
value = dynamicString
)
List<String> reportTypes
}