com.hn.doc.xyj.annotation.Api Maven / Gradle / Ivy
package com.hn.doc.xyj.annotation;
import java.lang.annotation.*;
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Api {
/**
* 返回数据类型
* @return Class
*/
Class> result() default void.class;
/**
* 方法描述
* @return {String}
*/
String value() default "";
/**
* 接口描述
* @return {String}
*/
String description() default "";
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy