Skip to content

Conversation

hemanth5055
Copy link
Contributor

Introduced versioned API endpoints: /v1/translate and /v1/explain.
Retained support for legacy POST / route to ensure backward compatibility.

closes #19

Copy link
Collaborator

@dineshsutihar dineshsutihar left a comment

Choose a reason for hiding this comment

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

Nice progress! A few suggestions are added regarding structure and error handling.
Once those are addressed, this should be ready to go. Looking forward to the next update!

@hemanth5055
Copy link
Contributor Author

hey @dineshsutihar , I've made the requested changes. Please have a look and let me know if anything else needs to be updated. 🙌

Copy link
Collaborator

@dineshsutihar dineshsutihar left a comment

Choose a reason for hiding this comment

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

LGTM!
Both routes are tested and working correctly.
Thanks for keeping the old / route for backward compatibility. Merging this now. Great job!

@dineshsutihar dineshsutihar merged commit 9a76586 into StructZ:develop Aug 5, 2025
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.

Backend: Create a new /explain endpoint to generate code explanations

2 participants