Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
Sign in
Sign up
Fetch the repository succeeded.
Open Source
>
Development Lib
>
Microservice
&&
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
849
Star
3.1K
Fork
949
GVP
JbootProjects
/
jboot
Code
Issues
74
Pull Requests
0
Wiki
Insights
Pipelines
Service
JavaDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
Don’t show this again
66
增加路径变量功能,修正Swagger未使用ActionKey注解URL的问题
Closed
没牙的小朋友:master
JbootProjects:master
没牙的小朋友
create on 2021-08-31 15:45
Clone/Download
HTTPS
SSH
Copy
Email Patch
Diff file
(1)增加了路径变量功能 使用方法 在action上使用ActionKey注解,URL中使用{变量},如 @ActionKey("/foo/{id}") public void foo(){ String id = getPara("id"); // 或 Integer id = getParaToInt("id"); ... } @ActionKey("/foo/{id}/bar/{name}") public void bar(){ String id = getPara("id"); // 或 Integer id = getParaToInt("id"); String name = getPara("name"); ... } 在test包中增加了相应的测试用例 (2)现在swagger的支持实现中,是按controller中的action方法名做取请求的路径,如果action使用@ActonKey注解则未使用注解的URL,会导致生成的文档与实际的action的URL不一致 应该做2个提交的,不好意思合并到一起了
How to merge Pull Request
git checkout master
git pull https://gitee.com/mjl/jboot.git master
git push origin master
Comments
0
Commits
4
Files
3
Checks
Code problems
0
Bulk operation
Expand
Collapse
Reviewer
Code Owner
Reviewer
Michael Yang
fuhai
No Setting
Min number
0
Tester
Michael Yang
fuhai
No Setting
Min number
0
Priority
Not specified
Serious
Main
Secondary
Unimportant
Label
Label settings
No Setting
Link Issue
No link issue
Successfully merged pull requests will close issues
Milestone
No related milestones
Participators
(1)
Java
1
https://gitee.com/JbootProjects/jboot.git
[email protected]
:JbootProjects/jboot.git
JbootProjects
jboot
jboot
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register