Skip to content

Ajaxy/openapi-asciidoctor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Bash script for generating HTML and PDF documentation from OpenAPI format using swagger2markup and Asciidoctor.

Docs are generated with few formats transformations: OpenAPI => AsciiDoc => HTML and PDF

Example

Generated documentation: https://ajaxy.github.io/tinyspec

Requirements

  • Java
  • RubyGems:
gem install asciidoctor
gem install asciidoctor-pdf --pre

Usage with tinyspec:

tinyspec -j && \
    ../openapi-asciidoctor/asciidoc.sh openapi.json > docs/index.html && \
    rm openapi.json && \
    open docs/index.html

Releases

No releases published

Packages

No packages published

Languages