forked from TrueCloudLab/frostfs-rest-gw
parent
e604222f60
commit
592be967f6
1 changed files with 2 additions and 0 deletions
|
@ -68,6 +68,8 @@ func New(prm *PrmAPI) *API {
|
||||||
func (a *API) Configure(api *operations.NeofsRestGwAPI) http.Handler {
|
func (a *API) Configure(api *operations.NeofsRestGwAPI) http.Handler {
|
||||||
api.ServeError = errors.ServeError
|
api.ServeError = errors.ServeError
|
||||||
|
|
||||||
|
api.UseSwaggerUI()
|
||||||
|
|
||||||
api.AuthHandler = operations.AuthHandlerFunc(a.PostAuth)
|
api.AuthHandler = operations.AuthHandlerFunc(a.PostAuth)
|
||||||
|
|
||||||
api.PutObjectHandler = operations.PutObjectHandlerFunc(a.PutObjects)
|
api.PutObjectHandler = operations.PutObjectHandlerFunc(a.PutObjects)
|
||||||
|
|
Loading…
Reference in a new issue