1
|
package eu.dnetlib.common.rmi;
|
2
|
|
3
|
import java.lang.annotation.ElementType;
|
4
|
import java.lang.annotation.Retention;
|
5
|
import java.lang.annotation.RetentionPolicy;
|
6
|
import java.lang.annotation.Target;
|
7
|
|
8
|
/**
|
9
|
* Created by claudio on 30/11/2016.
|
10
|
* to be used in REST controllers, and autodiscovered to build and publish their documentation
|
11
|
*/
|
12
|
@Target({ ElementType.TYPE})
|
13
|
@Retention(RetentionPolicy.RUNTIME)
|
14
|
public @interface DNetRestDocumentation {
|
15
|
String value() default "";
|
16
|
}
|