Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: ability to add method's comments in SpringApplicationParser #1066

Open
softaria-roman opened this issue Aug 2, 2024 · 0 comments

Comments

@softaria-roman
Copy link

As of now there is no ability to add comments on spring controllers and see them in the generated typescrypt file.

I understand that it needs a lot of effort to do it directly - e.g. support real javadocs/java comments.

But is would be easy to add a custom annotation like @TypescryptComment or something and use it within SpringApplicationParser.parseControllerMethod to add comments to the generated typescript methods.

This feature would be very helpful in environments where frontend and backend are developed by different teams.

WDYT?

If you like the idea I would prepare a pull request.

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

No branches or pull requests

1 participant