Skip to content

Conversation

@yumi520
Copy link

@yumi520 yumi520 commented Jan 24, 2026

ℹ️ Issue

Closes #254

📝 Description

  • Added logging and purpose statements to appropriate service methods
  • Documented routes in swagger
  • Added body documents (newPasswordBody, RegisterBody, etc)

✔️ Verification

Screenshot 2026-01-23 at 8 33 14 PM
  • Route can be seen on Swagger

🏕️ (Optional) Future Work / Notes

  • Not much right now, need to look more in depth

Copy link
Collaborator

@prooflesben prooflesben left a comment

Choose a reason for hiding this comment

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

A lot of the warns should be errors. There are some warns where we send a 4** error. If something makes the method fail it should be an error logged. In auth.service lines 330-338 have no logging when an error is thrown. Some other places logging is missing esp when an error is thrown.

Copy link
Collaborator

@prooflesben prooflesben left a comment

Choose a reason for hiding this comment

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

Also the methods don't have the body being documented like login. Look at register for comparison of how it should be done.

@yumi520 yumi520 requested a review from prooflesben January 25, 2026 23:11
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.

DEV - Generate docs and log code for the auth module

3 participants