MSP-8974 update doc

This commit is contained in:
chashintv committed 2026-11-23 12:58:54 +03:00
1 parent 3e707244dd
commit 2f29af5e76
11 files changed
+395 -194

No files matched your search

+3 -2
View File
@@ -22,11 +22,12 @@ func NewPermissions(permissionsService permissionsService) Permissions {
// GetPermissions
// @Tags user
// @Summary Получить все разрашения
// @Description Получить все разрашения
// @Summary Получить все разрешения
// @Description Получить все разрешения
// @Accept json
// @Produce json
// @Success 200 {array} domain.Permission
// @Failure 500 {object} apierrors.Error
// @Router /user/get_permissions [POST]
func (u Permissions) GetPermissions(ctx context.Context) []domain.Permission {
return u.permissionsService.All(ctx)