Skip to content

tk42/swagger-to-html-standalone

 
 

Repository files navigation

Swagger YAML/JSON into HTML on stand-alone

Creating HTML OpenAPI Document from swagger files (yaml/json) on stand-alone environment.

ScreenShot

This html file doesn't fetch any resources from the internet. ScreenShot

How To Use

python swagger-to-html-standalone.py < /path/to/api.(yaml|json) > doc.html

FYI: making YAML 1.2 a superset of JSON. c.f. https://en.wikipedia.org/wiki/YAML

⚠️ NOTE

ALSO COPY CSS AND JS FILES distributed from Swagger not only HTML to show up the HTML API document correctly.

About

Convert Swagger YAML into HTML with Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 90.7%
  • Python 9.3%