Class MdToAdocConverter

java.lang.Object
io.micronaut.openapi.adoc.md.MdToAdocConverter

public final class MdToAdocConverter extends Object
Convert-methods from MD format to AsciiDoc.
Since:
5.2.0
  • Method Details

    • convert

      public static String convert(String markdown)
      Convert Markdown text to Asciidoc.
      Parameters:
      markdown - Markdown text
      Returns:
      Asciidoc text
    • convert

      public static void convert(io.swagger.v3.oas.models.OpenAPI openApi)
      Convert all OpenAPI description fields from Markdown format to Asciidoc format.
      Parameters:
      openApi - OpenAPI object