-
Notifications
You must be signed in to change notification settings - Fork 382
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
Remove dependency on pegdown #423
Comments
Small workaround, in waiting for this to be merged, for those that want to use swagger2markup with Java 17 and do not use MARDOWN at all. Set |
Hi, would you like to create a PR |
Sure I just did, but I am not too invested in doing any more work beyond what I proposed, so I hope it is useful to anyone |
@RobWin is the linked PR good to go, or does it need more work? |
Pegdown has been deprecated for a while, and it appears to not work anymore with Java 17. This suggests that the dependency should be replaced with something else to be able to move forwards. The official recommendation is flexmark-java.
Replacing it could be as simple as this:
But there are some more problems that need to be adressed:
Given that flexmark is significantly faster and that the timeout parameter has "pegdown" in its name everywhere, it might be better to just remove the setting altogether.
One could possibly try to add exactly those extensions that were added for pegdown.
But is that desirable? Which extensions should be enabled by default? All again? This could be (another) breaking change.
The text was updated successfully, but these errors were encountered: