@Retention(value: RetentionPolicy.RUNTIME) @Target(value: [ElementType.TYPE]) @GroovyASTTransformationClass(value: org.grails.plugins.web.rest.transform.ResourceTransform) @interface Resource
Meta Annotation to applied to a domain class if it is a REST resource
Type Params | Return Type | Name and description |
---|---|---|
|
abstract String[] |
formats()
|
|
abstract String |
namespace()
|
|
abstract boolean |
readOnly()
|
|
abstract Class<?> |
superClass()
|
|
abstract String |
uri()
|