YDoc icon indicating copy to clipboard operation
YDoc copied to clipboard

充分利用springboot自有注解来对文档进行描述的一款文档生成器。 让我们抛弃大量注解和配置一起拥抱简洁。

Results 7 YDoc issues
Sort by recently updated
recently updated
newest added

Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'controllerSwagger' defined in class path resource [com/github/ydoc/config/AutoConfig.class]: Invocation of init method failed; nested exception is java.lang.reflect.InaccessibleObjectException: Unable to make field...

java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Long.parseLong(Long.java:601) at java.lang.Long.valueOf(Long.java:803) at io.swagger.models.parameters.AbstractSerializableParameter.getExample(AbstractSerializableParameter.java:412) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.alibaba.fastjson.util.FieldInfo.get(FieldInfo.java:571) at com.alibaba.fastjson.serializer.FieldSerializer.getPropertyValueDirect(FieldSerializer.java:143) at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:284) at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:154)...

如果返回结果是 泛型且嵌套List时,会报类型转换异常。 示例: 定义个ResultEntity 如下 ``` private class ResultEntity { private String code; private String message; private T rows; } ``` 定义一个接口 ``` @GetMapping("/test") public ResultEntity

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2021-12-10 20:43:07.611 ERROR 99056 --- [ main] o.s.boot.SpringApplication : Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean...

报错信息 Exception in thread "main" java.lang.IllegalArgumentException: Cannot instantiate interface org.springframework.context.ApplicationListener : org.springframework.boot.autoconfigure.BackgroundPreinitializer at org.springframework.boot.SpringApplication.createSpringFactoriesInstances(SpringApplication.java:413) at org.springframework.boot.SpringApplication.getSpringFactoriesInstances(SpringApplication.java:392) at org.springframework.boot.SpringApplication.getSpringFactoriesInstances(SpringApplication.java:383) at org.springframework.boot.SpringApplication.initialize(SpringApplication.java:251) at org.springframework.boot.SpringApplication.(SpringApplication.java:225) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) at com.douyu.wsd.yapi.example.YApiApplication.main(YApiApplication.java:19) Caused by:...

您好,近期在掘金偶然看到您发布的《自定义Prometheus监控&Grafana画图》文章,内容写的很好,我们对这个内容也十分感兴趣,看得出您在研发这一块十分有经验,我们想邀请您和我们进行课程合作,将您的知识分享给更多人学习。邀请您制作的课程类型为收费课程,制作完毕后将进行上架销售,作者不仅会获得丰厚的收益分成,还会收获一批忠实的读者粉丝,并且制作课程的过程中,作者自身的技术能力也将会得到极大的提升。如果您有兴趣的话,欢迎添加我们的官方合作微信“shiyanloukecheng”,期待您的联系。

需求场景: 当前业务结构 controller > 不同需求包路径 > b端 | c 端 controller: name: c: b: 所以想指定到name 层级, 每个需求版本都生成指定包和子包路径下的controller类接口文档