Skip to content

feat: adds new route to update folder name#21

Merged
jhonatapers merged 13 commits intodevelopfrom
feature/change-folder-name
Aug 24, 2025
Merged

feat: adds new route to update folder name#21
jhonatapers merged 13 commits intodevelopfrom
feature/change-folder-name

Conversation

@MatheusmPigatto
Copy link
Copy Markdown
Contributor

@MatheusmPigatto MatheusmPigatto commented Mar 10, 2025

This pull request introduces a new use case for updating folder names and refactors several API interfaces to simplify their method signatures and annotations. Additionally, it updates the Spring Boot version in the build configuration. The most significant changes are grouped below:

New Feature: Update Folder Name Use Case

  • Added a new use case for updating folder names, including the abstract class UpdateFolderNameUseCase, its implementation DefaultUpdateFolderNameUseCase, and the input record UpdateFolderNameInput. This use case validates the new name, checks for duplicates among sibling folders, and updates the folder name if valid. [1] [2] [3]
  • Introduced a new API endpoint in FolderAPI to change a folder's name via a PATCH request to {id}/name.

API Interface Refactoring

  • Simplified method signatures and annotations in FileAPI, FolderAPI, MemberAPI, and MemberAdminAPI:
    • Removed explicit produces and consumes where possible.
    • Replaced grouped @ApiResponses with individual @ApiResponse annotations for clarity.
    • Changed some endpoints (e.g., file download and folder move/name change) to use more RESTful paths and HTTP verbs.
    • Updated parameter annotations for consistency and clarity. [1] [2] [3] [4] [5] [6] [7]

Dependency Update

  • Upgraded Spring Boot from version 3.4.6 to 3.5.5 in infrastructure/build.gradle.

@MatheusmPigatto MatheusmPigatto linked an issue Mar 10, 2025 that may be closed by this pull request
@jhonatapers jhonatapers marked this pull request as draft March 11, 2025 21:35
@jhonatapers jhonatapers marked this pull request as ready for review August 24, 2025 21:55
@jhonatapers jhonatapers self-assigned this Aug 24, 2025
@jhonatapers jhonatapers added the enhancement New feature or request label Aug 24, 2025
@jhonatapers jhonatapers moved this to In Progress in CallV2 Aug 24, 2025
@jhonatapers jhonatapers merged commit e43fcff into develop Aug 24, 2025
@github-project-automation github-project-automation Bot moved this from In Progress to Done in CallV2 Aug 24, 2025
@jhonatapers jhonatapers deleted the feature/change-folder-name branch August 24, 2025 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Editar nome pasta

2 participants