com.fastchar.openapi.annotation.AFastAPITitle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fastchar-openapi Show documentation
Show all versions of fastchar-openapi Show documentation
FastChar-OpenAPI is build openapi3.0 doc tool package.
The newest version!
package com.fastchar.openapi.annotation;
import java.lang.annotation.*;
/**
* 接口标题
*/
@Repeatable(AFastAPITitleRepeatable.class)
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface AFastAPITitle {
/**
* 接口名称
* @return string
*/
String value();
/**
* 接口描述
* @return string
*/
String desc() default "";
/**
* 请求方法
* @return string
*/
String method() default "post";
}