Skip to content

Latest commit

 

History

History
29 lines (28 loc) · 557 Bytes

README.md

File metadata and controls

29 lines (28 loc) · 557 Bytes

har2swagger

convert har to swagger 2.0

Usage

Install

git clone https://github.com/xiayuguo/har2swagger.git
cd har2swagger && pip install -r requirements.txt

Run

python har2swagger.py -i your-har-file.har

More

python har2swagger.py -h

Support

  • Only Python3
  • Swagger 2.0(yaml)
  • Swagger 2.0(json)
  • GET
  • POST(json body)
  • POST(application/x-www-form-urlencoded)
  • POST(multipart/form-data)
  • application/json
  • application/xml
  • openapi 3.0(yaml)
  • openapi 3.0(json)