17 lines
449 B
Java
17 lines
449 B
Java
package dev.peerat.backend.bonus.extract;
|
|
|
|
import java.lang.annotation.ElementType;
|
|
import java.lang.annotation.Repeatable;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
import java.lang.annotation.Target;
|
|
|
|
@Repeatable(RouteDocs.class)
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
@Target(ElementType.METHOD)
|
|
public @interface RouteDoc {
|
|
|
|
String path() default "";
|
|
int responseCode();
|
|
String responseDescription();
|
|
}
|