Open Felk opened 2 years ago
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 swagger2markup.markupLanguage
AND swagger2markup.swaggerMarkupLanguage
to ASCIIDOC
. This will assume Swagger descriptions are written in Ascidoc and won't call the buggy markdown -> asciidoc converter.
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: