SouJunior / vagas-api

Backend do Projeto de Vagas do @SouJunior
https://vagas.soujunior.tech
GNU General Public License v3.0
151 stars 33 forks source link

Cleaning - Controllers cleaning #140

Closed PatrickOtero closed 11 months ago

PatrickOtero commented 11 months ago

The major change was the move of the swagger decorators in controller files to other separate files. Some secondary cleaning was made like some minor errors as incorrect status returned and the correction of incomplete and/or less efficient validation details. Two routes had their logic fixed, they are: getOneUser and deleteUser, because they were not working as it should, as they were only returning the logged user and not searching for a specific user through his id. Also the api was set temporarily to not reject unauthorized access attempts in order to allow the continuation of its development.