feat(http): 启动时打印路由表并合并请求方法

This commit is contained in:
zhangdeman committed 2026-11-29 18:18:53 -08:00
1 parent 90d47c0152
commit cfed548cbc
7 files changed
+252 -7

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ type pingInput struct {
Name string `json:"name" form:"name" binding:"required" dc:"请求中的问候对象"`
}
type pingForm struct {
framework.Meta `path:"/ping" method:"GET" summary:"问候示例" tag:"example" dc:"HTTP 路由声明"`
framework.Meta `path:"/ping" method:"GET,POST" summary:"问候示例" tag:"example" dc:"HTTP 路由声明"`
pingInput `dc:"独立的请求输入,不包含运行依赖"`
}
type pingOutput struct {
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.