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

pub.codex.apix.annotations.ApiOperation Maven / Gradle / Ivy

There is a newer version: 5.0.2
Show newest version
package pub.codex.apix.annotations;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * API Mapping 描述信息
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface ApiOperation {

    /**
     * 描述信息
     *
     * @return
     */
    @AliasFor("describe")
    String value()  default "";

    /**
     * 描述信息
     *
     * @return
     */
    @AliasFor("value")
    String describe() default "";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy