Setup Swagger API for Golang
Is your feature request related to a problem? Please describe. Currently we have a Postman collection hosted but it is hard to maintain as endpoints will change frequently over the time, as planned.
Describe the solution you'd like Setup swagger API for the backend using https://github.com/swaggo/swag
Describe alternatives you've considered https://github.com/go-swagger/go-swagger
Additional context Any package shall work.
Hello can you assign me
sure
Hi @its-me-abhishek,
I've implemented the Swagger API documentation as requested in issue #118. The implementation uses swaggo/swag as suggested and provides comprehensive API documentation for all endpoints.
Key highlights:
- All 10 endpoints (6 task management + 4 authentication) are fully documented
- Interactive Swagger UI is accessible at
/swagger/index.html - Added detailed setup guides for easy onboarding
- Documentation auto-generates from code annotations, eliminating manual maintenance
I've tested the implementation locally and the Swagger UI is working as expected. Please review the changes and let me know if you'd like any modifications or improvements.
Looking forward to your feedback!
Best regards