All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gitee.easyopen.doc.annotation.ApiDoc Maven / Gradle / Ivy

Go to download

easyopen mini版,保留基本签名校验,文档功能。https://gitee.com/durcframework/easyopen

There is a newer version: 1.0.4
Show newest version
package com.gitee.easyopen.doc.annotation;

import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

/**
 * 文档注解,作用在Service类上
 * @author tanghc
 */
@Documented
@Retention(RUNTIME)
@Target(TYPE)
public @interface ApiDoc {

    /**
     * @return 文档模块名
     */
    String value();
    
    /**
     * @return 指定模块显示顺序,值越小越靠前
     */
    int order() default Integer.MAX_VALUE;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy