Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create endpoint to remove customer data (LGPD) #25

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

giovannidiluca
Copy link
Contributor

No description provided.

Copy link

sonarcloud bot commented Aug 5, 2024

Comment on lines +93 to +98
@DeleteMapping("/{name}/{address}/{phone}")
fun removeCustomerData(
@Parameter(description = "Nome do cliente") @PathVariable("name") name: String,
@Parameter(description = "Endereço do cliente") @PathVariable("address") address: String,
@Parameter(description = "Telefone do cliente") @PathVariable("phone") phone: String,
): ResponseEntity<Customer>
Copy link
Member

Choose a reason for hiding this comment

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

Ao invés de @Parameter, melhor usar @RequestParam (são obrigatórios por padrão).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants