OpenAPITools / openapi-diff

Utility for comparing two OpenAPI specifications.
Apache License 2.0
780 stars 153 forks source link

Add support for outputting to Asciidoc format #559

Closed Christopher-Chianelli closed 6 months ago

Christopher-Chianelli commented 10 months ago

Asciidoc is very similar to Markdown, but it has a few differences:

Due to these similarities, they basically share the exact same render code! The core implementation of MarkdownRender was moved to an abstract base class MarkdownRenderBase (with abstract methods for getting the symbols for LI, HR, etc.), with MarkdownRender now just defining those abstract methods. AsciidocRender also extends the same base class, and also overrides the blockquote method since blockquoting is done quite differently and is not a simple symbol replacement.

westse commented 10 months ago

How about a CLI option and readme update?

joschi commented 6 months ago

Superseded by #569.