Skip to content

AndrewGnagy/swagger-visual-scripter

Repository files navigation


Table of Contents
  1. About The Project
  2. Usage
  3. Roadmap
  4. Contributing
  5. License
  6. Contact
  7. Acknowledgments

About The Project

Screen Shot

Swagger visual scripted allows creation of scripts using any valid Swagger v2 or OpenApi v3 json file.

(back to top)

Built With

Vanilla JS! That's right. This project has only one dependency.

(back to top)

Usage

To start, load any valid JSON file describing your API.

Variables

Pre-defined variables

  • $lastResult or $r - the response body of the most recent API request
  • $lastStatus or $s - the response code of the most recent API request
  • $loopItem or $i - the current item in an iteration of a for loop

(back to top)

Minifying

To minify, run this command: uglifyjs --compress --mangle --define PACKAGED=true -- main.js scriptRunner.js > dist/swag-vis-scripter.1.0.min.js You'll need uglifyjs globally installed

Roadmap

  • Package and minify project
  • Convert a flowchart to JS script

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

Original contributors: Andrew Gnagy, Alex Ross, Francis Uzorh, and Davis Peterson from Genesys Inc.

About

Converting swagger docs to visual scripting tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •