xiayuguo / har2swagger

convert har to swagger 2.0

Home Page:https://editor.swagger.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

convert har to swagger 2.0

https://editor.swagger.io/

License:MIT License


Languages

Language:Python 100.0%