-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat: Extract comments from Java code #2788
Conversation
Nice! Can we also remove the |
@alecthomas We can. Do you want to strip all javadoc tags, or just ones that've been extracted for config and secrets? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
I think we should delete them, I can't see how they could be useful outside the context of the JVM? |
👍 :
👎 :
👉 I will delete them. Make a list of common tags and strip them out. |
We could potentially reconstruct them for the JVM where it makes sense? |
Yeah. Can take comments from the schema for params that FTL has knowledge of: Config, Secrets, the body param, verb clients |
Some tags will potentially loose information if you delete them, it is not uncommon to have link or code tags in the middle of a sentence, that will no longer make sense if it is removed. Is there a plan for the schema comments to support any sort of markup language? Markdown comments would be kinda cool. |
No plan but that would be very cool. |
OK, I added tag stripping, and a TODO to extract more info into a potential markdown/rich format schema comment system. |
Extract comments from Java code for Verbs, Data, Enum, Config, and Secrets
Closes #2417
Schema for the test data module is: