com.minlia.rocket.swagger.annotation.ApiSpecification Maven / Gradle / Ivy
package com.minlia.rocket.swagger.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.stereotype.Component;
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface ApiSpecification {
/**
* 分组名称
*/
public String name();
/**
* 路径配置
*/
public String path();
}