/oldpureswagger

OpenAPI 3.0 Specs for Pure Storage Endpoints

Primary LanguagePythonApache License 2.0Apache-2.0

Pure FA Swagger Generator

This is a tool that converts the Pure FlashArray API pdf documentation into an interactive Swagger UI. This lets you browse the API documentation in a convienent format and even execute API calls interactively directly to a FlashArray!

Try It:

Requires docker to be installed

docker run -it --rm -p 80:5000 sile16/pureswagger

Then open your browser to http://127.0.0.1 (use firefox to enable real time API calls!) Then load a FlashArray REST pdf from Pure Support

That's it!

To stop run:

just ctrl^c on the console docker container

Screenshots

Documentation in collapsable easy to read format

docs

See detailed paramater information

array_details

See body param documentation

array_details

Every Endpoint is documented !

array_details

Actually send API commands to an Array:

array_details

Start a session:

array_details

Get Controller Info:

array_details

Notes:

In order to send API calls to an array you must

  1. Have a FlashArray
  2. Use Firefox
  3. Follow the instructions to enabled CORS bypass and accept TLS certificate.