1 package com.atlassian.rest.annotation;
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 * Marks the annotated resource or method to be ignored when generating wadl.
10 *
11 * This essentially hides the resource or method from the REST documentation.
12 */
13 @Retention(RetentionPolicy.RUNTIME)
14 @Target({ElementType.METHOD, ElementType.TYPE})
15 public @interface ExcludeFromDoc {
16 }