This commit is contained in:
MaxToby 2022-02-16 11:35:06 +08:00
parent 0aac4b39f3
commit df72b696da

View File

@ -243,7 +243,7 @@ func renderServiceRoutes(service spec.Service, groups []spec.Group, paths swagge
case http.MethodPut:
pathItemObject.Put = operationObject
case http.MethodPatch:
pathItemObject.Put = operationObject
pathItemObject.Patch = operationObject
}
paths[path] = pathItemObject