mirror of
https://github.com/go-kratos/kratos.git
synced 2025-03-19 21:18:07 +02:00
Merge pull request #421 from bilibili/XyuWang-patch-1
fixed swagger method
This commit is contained in:
commit
3d20bed941
@ -166,7 +166,7 @@ func (t *swaggerGen) getOperationByHTTPMethod(httpMethod string, pathItem *swagg
|
||||
case http.MethodPut:
|
||||
pathItem.Put = op
|
||||
case http.MethodDelete:
|
||||
pathItem.Put = op
|
||||
pathItem.Delete = op
|
||||
case http.MethodPatch:
|
||||
pathItem.Patch = op
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user