
com.iiifi.kite.boot.annotation.ApiVersion Maven / Gradle / Ivy
package com.iiifi.kite.boot.annotation;
import java.lang.annotation.*;
/**
* @author [email protected] 花朝
* @date 2018/8/18 12:57
* @desc 注解用于生成RequestMapping info时候直接拼接路径
* 规则,自动放置于方法路径开始部分
*/
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface ApiVersion {
/**
* 版本号
*
* @return 版本号
*/
String value() default "";
/**
* url 上添加服务名,默认:true
*
* @return 是否添加服务名
*/
boolean useAppName() default true;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy