swagger1-to-postman

Convert a given Swagger spec to Postman spec

Usage no npm install needed!

<script type="module">
  import swagger1ToPostman from 'https://cdn.skypack.dev/swagger1-to-postman';
</script>

README

A Swagger to POSTMan converter.

Usage examples:

Read spec.json and store the output in output.json after grouping the requests into folders
    ./swagger2postman -s spec.json -o output.json -g

Read spec.json and print the output to the console
    ./swagger2postman -s spec.json

Read spec.json and print the prettified output to the console
    ./swagger2postman -s spec.json -p