Correct gofmt version 1.19 (#2267)
This commit is contained in:
committed by
GitHub
parent
cd21ad2085
commit
3e9fb853d9
@@ -48,10 +48,10 @@ func NewAddNotificationEndpoint(ctx *middleware.Context, handler AddNotification
|
||||
return &AddNotificationEndpoint{Context: ctx, Handler: handler}
|
||||
}
|
||||
|
||||
/* AddNotificationEndpoint swagger:route POST /admin/notification_endpoints Configuration addNotificationEndpoint
|
||||
/*
|
||||
AddNotificationEndpoint swagger:route POST /admin/notification_endpoints Configuration addNotificationEndpoint
|
||||
|
||||
Allows to configure a new notification endpoint
|
||||
|
||||
*/
|
||||
type AddNotificationEndpoint struct {
|
||||
Context *middleware.Context
|
||||
|
||||
@@ -33,7 +33,8 @@ import (
|
||||
// AddNotificationEndpointCreatedCode is the HTTP code returned for type AddNotificationEndpointCreated
|
||||
const AddNotificationEndpointCreatedCode int = 201
|
||||
|
||||
/*AddNotificationEndpointCreated A successful response.
|
||||
/*
|
||||
AddNotificationEndpointCreated A successful response.
|
||||
|
||||
swagger:response addNotificationEndpointCreated
|
||||
*/
|
||||
@@ -74,7 +75,8 @@ func (o *AddNotificationEndpointCreated) WriteResponse(rw http.ResponseWriter, p
|
||||
}
|
||||
}
|
||||
|
||||
/*AddNotificationEndpointDefault Generic error response.
|
||||
/*
|
||||
AddNotificationEndpointDefault Generic error response.
|
||||
|
||||
swagger:response addNotificationEndpointDefault
|
||||
*/
|
||||
|
||||
@@ -48,10 +48,10 @@ func NewConfigInfo(ctx *middleware.Context, handler ConfigInfoHandler) *ConfigIn
|
||||
return &ConfigInfo{Context: ctx, Handler: handler}
|
||||
}
|
||||
|
||||
/* ConfigInfo swagger:route GET /configs/{name} Configuration configInfo
|
||||
/*
|
||||
ConfigInfo swagger:route GET /configs/{name} Configuration configInfo
|
||||
|
||||
Configuration info
|
||||
|
||||
*/
|
||||
type ConfigInfo struct {
|
||||
Context *middleware.Context
|
||||
|
||||
@@ -33,7 +33,8 @@ import (
|
||||
// ConfigInfoOKCode is the HTTP code returned for type ConfigInfoOK
|
||||
const ConfigInfoOKCode int = 200
|
||||
|
||||
/*ConfigInfoOK A successful response.
|
||||
/*
|
||||
ConfigInfoOK A successful response.
|
||||
|
||||
swagger:response configInfoOK
|
||||
*/
|
||||
@@ -74,7 +75,8 @@ func (o *ConfigInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Pr
|
||||
}
|
||||
}
|
||||
|
||||
/*ConfigInfoDefault Generic error response.
|
||||
/*
|
||||
ConfigInfoDefault Generic error response.
|
||||
|
||||
swagger:response configInfoDefault
|
||||
*/
|
||||
|
||||
@@ -48,10 +48,10 @@ func NewListConfig(ctx *middleware.Context, handler ListConfigHandler) *ListConf
|
||||
return &ListConfig{Context: ctx, Handler: handler}
|
||||
}
|
||||
|
||||
/* ListConfig swagger:route GET /configs Configuration listConfig
|
||||
/*
|
||||
ListConfig swagger:route GET /configs Configuration listConfig
|
||||
|
||||
List Configurations
|
||||
|
||||
*/
|
||||
type ListConfig struct {
|
||||
Context *middleware.Context
|
||||
|
||||
@@ -33,7 +33,8 @@ import (
|
||||
// ListConfigOKCode is the HTTP code returned for type ListConfigOK
|
||||
const ListConfigOKCode int = 200
|
||||
|
||||
/*ListConfigOK A successful response.
|
||||
/*
|
||||
ListConfigOK A successful response.
|
||||
|
||||
swagger:response listConfigOK
|
||||
*/
|
||||
@@ -74,7 +75,8 @@ func (o *ListConfigOK) WriteResponse(rw http.ResponseWriter, producer runtime.Pr
|
||||
}
|
||||
}
|
||||
|
||||
/*ListConfigDefault Generic error response.
|
||||
/*
|
||||
ListConfigDefault Generic error response.
|
||||
|
||||
swagger:response listConfigDefault
|
||||
*/
|
||||
|
||||
@@ -48,10 +48,10 @@ func NewNotificationEndpointList(ctx *middleware.Context, handler NotificationEn
|
||||
return &NotificationEndpointList{Context: ctx, Handler: handler}
|
||||
}
|
||||
|
||||
/* NotificationEndpointList swagger:route GET /admin/notification_endpoints Configuration notificationEndpointList
|
||||
/*
|
||||
NotificationEndpointList swagger:route GET /admin/notification_endpoints Configuration notificationEndpointList
|
||||
|
||||
Returns a list of active notification endpoints
|
||||
|
||||
*/
|
||||
type NotificationEndpointList struct {
|
||||
Context *middleware.Context
|
||||
|
||||
@@ -33,7 +33,8 @@ import (
|
||||
// NotificationEndpointListOKCode is the HTTP code returned for type NotificationEndpointListOK
|
||||
const NotificationEndpointListOKCode int = 200
|
||||
|
||||
/*NotificationEndpointListOK A successful response.
|
||||
/*
|
||||
NotificationEndpointListOK A successful response.
|
||||
|
||||
swagger:response notificationEndpointListOK
|
||||
*/
|
||||
@@ -74,7 +75,8 @@ func (o *NotificationEndpointListOK) WriteResponse(rw http.ResponseWriter, produ
|
||||
}
|
||||
}
|
||||
|
||||
/*NotificationEndpointListDefault Generic error response.
|
||||
/*
|
||||
NotificationEndpointListDefault Generic error response.
|
||||
|
||||
swagger:response notificationEndpointListDefault
|
||||
*/
|
||||
|
||||
@@ -48,10 +48,10 @@ func NewResetConfig(ctx *middleware.Context, handler ResetConfigHandler) *ResetC
|
||||
return &ResetConfig{Context: ctx, Handler: handler}
|
||||
}
|
||||
|
||||
/* ResetConfig swagger:route POST /configs/{name}/reset Configuration resetConfig
|
||||
/*
|
||||
ResetConfig swagger:route POST /configs/{name}/reset Configuration resetConfig
|
||||
|
||||
Configuration reset
|
||||
|
||||
*/
|
||||
type ResetConfig struct {
|
||||
Context *middleware.Context
|
||||
|
||||
@@ -33,7 +33,8 @@ import (
|
||||
// ResetConfigOKCode is the HTTP code returned for type ResetConfigOK
|
||||
const ResetConfigOKCode int = 200
|
||||
|
||||
/*ResetConfigOK A successful response.
|
||||
/*
|
||||
ResetConfigOK A successful response.
|
||||
|
||||
swagger:response resetConfigOK
|
||||
*/
|
||||
@@ -74,7 +75,8 @@ func (o *ResetConfigOK) WriteResponse(rw http.ResponseWriter, producer runtime.P
|
||||
}
|
||||
}
|
||||
|
||||
/*ResetConfigDefault Generic error response.
|
||||
/*
|
||||
ResetConfigDefault Generic error response.
|
||||
|
||||
swagger:response resetConfigDefault
|
||||
*/
|
||||
|
||||
@@ -48,10 +48,10 @@ func NewSetConfig(ctx *middleware.Context, handler SetConfigHandler) *SetConfig
|
||||
return &SetConfig{Context: ctx, Handler: handler}
|
||||
}
|
||||
|
||||
/* SetConfig swagger:route PUT /configs/{name} Configuration setConfig
|
||||
/*
|
||||
SetConfig swagger:route PUT /configs/{name} Configuration setConfig
|
||||
|
||||
Set Configuration
|
||||
|
||||
*/
|
||||
type SetConfig struct {
|
||||
Context *middleware.Context
|
||||
|
||||
@@ -33,7 +33,8 @@ import (
|
||||
// SetConfigOKCode is the HTTP code returned for type SetConfigOK
|
||||
const SetConfigOKCode int = 200
|
||||
|
||||
/*SetConfigOK A successful response.
|
||||
/*
|
||||
SetConfigOK A successful response.
|
||||
|
||||
swagger:response setConfigOK
|
||||
*/
|
||||
@@ -74,7 +75,8 @@ func (o *SetConfigOK) WriteResponse(rw http.ResponseWriter, producer runtime.Pro
|
||||
}
|
||||
}
|
||||
|
||||
/*SetConfigDefault Generic error response.
|
||||
/*
|
||||
SetConfigDefault Generic error response.
|
||||
|
||||
swagger:response setConfigDefault
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user