diff --git a/restapi/operations/configuration/config_info.go b/restapi/operations/configuration/config_info.go index 72dc5eb2c..3bb280e14 100644 --- a/restapi/operations/configuration/config_info.go +++ b/restapi/operations/configuration/config_info.go @@ -63,7 +63,7 @@ func (o *ConfigInfo) ServeHTTP(rw http.ResponseWriter, r *http.Request) { if rCtx != nil { *r = *rCtx } - Params := NewConfigInfoParams() + var Params = NewConfigInfoParams() uprinc, aCtx, err := o.Context.Authorize(r, route) if err != nil { o.Context.Respond(rw, r, route.Produces, route, err) @@ -84,4 +84,5 @@ func (o *ConfigInfo) ServeHTTP(rw http.ResponseWriter, r *http.Request) { res := o.Handler.Handle(Params, principal) // actually handle the request o.Context.Respond(rw, r, route.Produces, route, res) + } diff --git a/restapi/operations/user/update_user_info.go b/restapi/operations/user/update_user_info.go index 43e8b930c..36b397063 100644 --- a/restapi/operations/user/update_user_info.go +++ b/restapi/operations/user/update_user_info.go @@ -49,7 +49,7 @@ func NewUpdateUserInfo(ctx *middleware.Context, handler UpdateUserInfoHandler) * } /* -UpdateUserInfo swagger:route PUT /user/{name} User updateUserInfo + UpdateUserInfo swagger:route PUT /user/{name} User updateUserInfo Update User Info */