Project

General

Profile

« Previous | Next » 

Revision 44749

added @DNetRestDocumentation annotation, to be used in REST controllers, and autodiscovered to build and publish their documentation

View differences:

modules/cnr-rmi-api/trunk/src/main/java/eu/dnetlib/common/rmi/DNetRestDocumentation.java
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
 */
11
@Target({ ElementType.TYPE})
12
@Retention(RetentionPolicy.RUNTIME)
13
public @interface DNetRestDocumentation {
14
	String value() default "";
15
}

Also available in: Unified diff