package initialize

import (
	"penahub.gitlab.yandexcloud.net/pena-services/customer/internal/interface/swagger"
)

func NewAPI(controllers Controllers) *swagger.API {
	return swagger.New(swagger.Deps{
		AccountController:  controllers.AccountController,
		CurrencyController: controllers.CurrencyController,
		CartController:     controllers.CartController,
		WalletController:   controllers.WalletController,
		HistoryController:  controllers.HistoryController,
	})
}
