Skip to content

Instantly share code, notes, and snippets.

View hestellez's full-sized avatar
💭
✌️

Héctor Estéllez hestellez

💭
✌️
View GitHub Profile
@hestellez
hestellez / swagger-yaml-to-html.py
Created April 9, 2019 17:26 — forked from oseiskar/swagger-yaml-to-html.py
Converts Swagger YAML to a static HTML document (needs: pip install PyYAML)
#!/usr/bin/python
"""
Usage:
python swagger-yaml-to-html.py < /path/to/api.yaml > doc.html
"""
import yaml, json, sys
TEMPLATE = """