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

Deixar o endpoint inserir tarefa mais RESTful #41

Open
huogerac opened this issue Oct 7, 2023 · 0 comments
Open

Deixar o endpoint inserir tarefa mais RESTful #41

huogerac opened this issue Oct 7, 2023 · 0 comments
Labels
backend documentation Improvements or additions to documentation enhancement New feature or request

Comments

@huogerac
Copy link
Contributor

huogerac commented Oct 7, 2023

O endpoint atual para inserir é /tarefas/add e a ideia é ser um POST para /tarefas

Envolve:

  • Alterar o endpoint para o django_only para ter um if GET/POST
  • Alterar o endpoint para o django_ninja onde a anotação muda
  • Alterar o endpoint para o openapi
  • a camada api (axios) no frontend que faz a chamada precisa ser alterada para o nova
  • revisar que a documentação (swagger) foi atualizada
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant