apidocx icon indicating copy to clipboard operation
apidocx copied to clipboard

Generate API documents to any place: YApi, RAP2, Eolink, etc.

Results 22 apidocx issues
Sort by recently updated
recently updated
newest added

![image](https://user-images.githubusercontent.com/52400896/194683343-a0705843-1a17-490e-90b3-28249eb501de.png) 类上@RequestMapping注解没有method的值,在调用HttpMethod的of方法时会抛出空指针。需要在.map(HttpMethod::of)前面过滤空字符串

bug

使用插件导入到yapi中后,请求参数那一块,示例这一栏取得是代码中 @RequestParam 注解中defaultValue属性对应的值,但是如果defaultValue为空,示例就不会显示内容了,如果要写示例值就只能写在注释那里了,有什么其他方法来实现吗?

question

将接口上传到yapi后,无法识别swagger的@Schema注解里的description属性

建议枚举文档支持枚举的方法: 例如目前支持的是枚举的属性: /** * 状态 * @see com.simples.constant.AreaTypeEnum#type */ private Integer areaType; 但是这样的话IDEA会标红; 能否支持枚举的方法,例如这样的: /** * 状态 * @see com.simples.constant.AreaTypeEnum#getType() */ private Integer areaType;

您好,我的项目中返回的结果包装类中带有范型,导入到YAPI后响应结果为空

1.使用插件导入时部分swagger的注解在apiOperation指定httpMethod时不生效,查看源码发现该工具只支持解析@xxxMapping的方式,能否支持一下,我这边使用场景是定义了个接口 @RequestMapping(value = "xxx", method = {RequestMethod.GET, RequestMethod.POST}),但api文档上只想展示 POST的接口,所以使用了swagger的注解: @ApiOperation(value = "xxx", httpMethod = HttpMethods.POST) 2当入参是复杂类型是,比如 @ApiModel(value = "请求体") public class Request { /** * xx信息 */ @ApiModelProperty(value = "xx信息",...

API接口管理平台有很多,当接入一个新平台都需要再插件中开发相关转换代码,但是插件开发又有一定的成本,因此定义一套通用的标准上传接口,并插件支持接入,就可以支持任意API管理平台。