feat: align ids to int64
This commit is contained in:
@@ -45,7 +45,7 @@ func (c *tenants) Create(ctx fiber.Ctx, form *dto.TenantCreateForm) error {
|
||||
|
||||
// Get tenant
|
||||
//
|
||||
// @Router /super/v1/tenants/:id [get]
|
||||
// @Router /super/v1/tenants/:id<int> [get]
|
||||
// @Summary Get tenant
|
||||
// @Description Get tenant
|
||||
// @Tags Tenant
|
||||
@@ -60,7 +60,7 @@ func (c *tenants) Get(ctx fiber.Ctx, id int64) (*dto.TenantItem, error) {
|
||||
|
||||
// Update tenant status
|
||||
//
|
||||
// @Router /super/v1/tenants/:id/status [patch]
|
||||
// @Router /super/v1/tenants/:id<int>/status [patch]
|
||||
// @Summary Update tenant status
|
||||
// @Description Update tenant status
|
||||
// @Tags Tenant
|
||||
@@ -77,7 +77,7 @@ func (c *tenants) UpdateStatus(ctx fiber.Ctx, id int64, form *dto.TenantStatusUp
|
||||
|
||||
// Update tenant expire
|
||||
//
|
||||
// @Router /super/v1/tenants/:id [patch]
|
||||
// @Router /super/v1/tenants/:id<int> [patch]
|
||||
// @Summary Update tenant expire
|
||||
// @Description Update tenant expire
|
||||
// @Tags Tenant
|
||||
|
||||
Reference in New Issue
Block a user