![JAR search and dependency download from the Maven repository](/logo.png)
com.gitee.sergius.apitool.annotation.ApiResponses Maven / Gradle / Ivy
package com.gitee.sergius.apitool.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* @author shawn yang
* @version 1.0.0
* 该注解可以用在方法上面,当响应参数不能通过方法返回类型直接判断出来时使用,
* 需结合{@link ApiResponse}一起使用
*
*/
@Target(METHOD)
@Retention(RUNTIME)
@Documented
public @interface ApiResponses {
ApiResponse[] value();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy