mirror of
https://github.com/go-kratos/kratos.git
synced 2025-01-24 03:46:37 +02:00
fixed swagger method
This commit is contained in:
parent
7e370e4384
commit
5f8bb6b88e
@ -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