forked from TrueCloudLab/frostfs-rest-gw
[#1] Build REST Gateway with FrostFS dependencies
This commit is contained in:
parent
2345fe6441
commit
803cafbbd5
70 changed files with 325 additions and 284 deletions
|
@ -10,7 +10,7 @@ import (
|
|||
|
||||
"github.com/go-openapi/runtime/middleware"
|
||||
|
||||
"github.com/nspcc-dev/neofs-rest-gw/gen/models"
|
||||
"github.com/TrueCloudLab/frostfs-rest-gw/gen/models"
|
||||
)
|
||||
|
||||
// DeleteObjectHandlerFunc turns a function with the right signature into a delete object handler
|
||||
|
@ -31,10 +31,10 @@ func NewDeleteObject(ctx *middleware.Context, handler DeleteObjectHandler) *Dele
|
|||
return &DeleteObject{Context: ctx, Handler: handler}
|
||||
}
|
||||
|
||||
/* DeleteObject swagger:route DELETE /objects/{containerId}/{objectId} deleteObject
|
||||
/*
|
||||
DeleteObject swagger:route DELETE /objects/{containerId}/{objectId} deleteObject
|
||||
|
||||
Remove object from NeoFS
|
||||
|
||||
*/
|
||||
type DeleteObject struct {
|
||||
Context *middleware.Context
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue