io.github.yedaxia.apidocs.ApiDoc Maven / Gradle / Ivy
package io.github.yedaxia.apidocs;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.SOURCE)
@Target({ElementType.METHOD})
public @interface ApiDoc {
/**
* result class
* @return
*/
Class> value() default Null.class;
/**
* result class
*/
Class> result() default Null.class;
/**
* request url
*/
String url() default "";
/**
* request method
*/
String method() default "get";
final class Null{
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy