liuanxin / api-document Goto Github PK
View Code? Open in Web Editor NEWspring-mvc api-document collect
License: GNU General Public License v3.0
spring-mvc api-document collect
License: GNU General Public License v3.0
请提供一个使用的demo,能支持spring boot2吗?
请告知引用的版本(请先用 latest 版本重试)
0.9.0
请给出错误信息
[TID: N/A] 2024-04-17 17:55:23.836 [http-nio-9604-exec-10] ERROR c.z.h.n.c.a.c.GlobalException - [other,121] - 未知异常
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1967)
at com.github.liuanxin.api.util.ReturnHandler.returnInfo(ReturnHandler.java:201)
at com.github.liuanxin.api.util.ReturnHandler.handlerReturn(ReturnHandler.java:145)
at com.github.liuanxin.api.util.ReturnHandler.handlerReturn(ReturnHandler.java:39)
at com.github.liuanxin.api.util.WebUtil.infoAndUrlMap(WebUtil.java:120)
at com.github.liuanxin.api.web.DocumentController.collect(DocumentController.java:87)
at com.github.liuanxin.api.web.DocumentController.getUrlInfo(DocumentController.java:77)
请告知预期
请告知出现错误时的整个上下文, 如果复现很复杂, 请将 demo 传到 github 并留下地址
试用了您的API文档生成插件,非常棒。但是遇到一个问题。我们的项目中返回值都会转化成 Json 字符串,这样的话您的代码就读取不到正确的返回值。
以前我们用的也是 swagger ,确实有一些槽点。不过上面有一个注解 response 可以指定返回类型,希望您能也加上这个功能。
如果您没时间补充这个功能的话,希望我能代劳,补充一下这个功能。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.