[#1] Build REST Gateway with FrostFS dependencies

This commit is contained in:
Alexey Vanin 2022-12-15 13:03:54 +03:00 committed by Kirillov Denis
parent 2345fe6441
commit 803cafbbd5
70 changed files with 325 additions and 284 deletions

View file

@ -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"
)
// DeleteContainerHandlerFunc turns a function with the right signature into a delete container handler
@ -31,10 +31,10 @@ func NewDeleteContainer(ctx *middleware.Context, handler DeleteContainerHandler)
return &DeleteContainer{Context: ctx, Handler: handler}
}
/* DeleteContainer swagger:route DELETE /containers/{containerId} deleteContainer
/*
DeleteContainer swagger:route DELETE /containers/{containerId} deleteContainer
Delete container by id
*/
type DeleteContainer struct {
Context *middleware.Context