Skip to content

Swagger Documentation for Backend APIs - #1792

Merged
omroy07 merged 2 commits into
omroy07:mainfrom
Aditya8369:276
May 26, 2026
Merged

Swagger Documentation for Backend APIs#1792
omroy07 merged 2 commits into
omroy07:mainfrom
Aditya8369:276

Conversation

@Aditya8369

Copy link
Copy Markdown
Contributor

Swagger/OpenAPI is now served locally at /api/docs/, with the generated spec at /api/docs/openapi.json. The docs are built from route-level metadata in routes.py and auth.py, and the app now registers both the standalone auth blueprint and the docs blueprint in app.py. I also mounted the v1 auth routes under /api/v1/auth in init.py, which makes the password verification/reset endpoints live and documented together.

Validation passed with Python syntax checks on the edited files. A full app import check was blocked by a missing third-party dependency in this environment (google from the Gemini package), but the Swagger and auth files themselves are clean.

closes #276

@vercel

vercel Bot commented May 25, 2026

Copy link
Copy Markdown

@Aditya8369 is attempting to deploy a commit to the Om Roy's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

Copy link
Copy Markdown

Thanks for creating a PR for your Issue! ☺️

We'll review it as soon as possible.
In the meantime, please double-check the file changes and ensure that all commits are accurate.

If there are any unresolved review comments, feel free to resolve them. 🙌🏼

@Aditya8369

Copy link
Copy Markdown
Contributor Author

@omroy07 please merge under NSOC

@omroy07
omroy07 merged commit cfb6051 into omroy07:main May 26, 2026
1 of 4 checks passed
@github-actions

Copy link
Copy Markdown

🎉 Congrats @Aditya8369 on getting your PR merged! 🙌
Thanks for the contribution — looking forward to more from you 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Swagger Documentation for Backend APIs

2 participants