This Go application parses a Swagger 2.0 JSON file and outputs each API call's verb, endpoint, and parameters. It's a valuable tool for threat modeling, testing checklists, and generating screenshots for walkthroughs.
Usage:
- Ensure Go is installed on your local machine.
- Save the code to a file, e.g.,
api-map.go
. - Compile the application:
go build api-map.go
. - Run the compiled executable with the Swagger JSON file as an argument:
./api-map <file.json>
. - The results will be printed to the standard output (STDOUT).