Skip to content
This repository was archived by the owner on May 11, 2025. It is now read-only.

#6 Desenvolvimento de API de Projetos #47

Open
wants to merge 109 commits into
base: develop
Choose a base branch
from

Conversation

damatomos
Copy link

  • Criação de Projetos: Endpoint POST para adicionar novos projetos, incluindo validação de dados.
  • Listagem de Projetos: Endpoint GET para recuperar todos os projetos, com suporte a filtros e paginação.
  • Atualização de Projetos: Endpoint PUT para modificar detalhes de projetos existentes.
  • Exclusão de Projetos: Endpoint DELETE para remover projetos do sistema.
  • Testes: Implementar testes unitários e de integração para garantir a funcionalidade correta de todos os endpoints.

OBS: Adicionei um handler para pegar as validações do Spring Validation, e criei um DTO para retornar erros de uma forma padronizada com todos os campos em uma lista errors: [{ nomeCampo: Erro}, ...], isso se fez necessário para que eu pudesse validar minhas requisições de acordo com o que era inserido.

@damatomos damatomos requested a review from a team April 30, 2025 11:33

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pelo que vi na implementação do Gateway o update está buscando e atualizando. Injeta um FindProjectGateway para buscar o project e o update apenas atualiza esse project encontrado.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Está faltando os teste dessa classe

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Falta documentar os parametros que a rota pode receber no swagger

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Está faltando os teste dessa classe

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Está faltando os teste dessa classe

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Está faltando os teste dessa classe

damatomos added 24 commits May 1, 2025 22:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants