Skip to content

Instantly share code, notes, and snippets.

@llarsson
Created April 5, 2017 08:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save llarsson/b1ed8be27e9a49392cf81c54eafe72d3 to your computer and use it in GitHub Desktop.
Save llarsson/b1ed8be27e9a49392cf81c54eafe72d3 to your computer and use it in GitHub Desktop.
List all API paths in a Swagger JSON file using jq
cat swagger.json | jq '.paths | keys'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment