MSP-8974 update doc
This commit is contained in:
1 parent
3e707244dd
commit
2f29af5e76
11 files changed
+395
-194
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user