This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"openapi" : "3.0.1", | |
"info" : { | |
"title" : "Test API with base-middle-leaf inheritance", | |
"description" : "Test API", | |
"version" : "1.0.0" | |
}, | |
"servers" : [ { | |
"url" : "https://example.com/test/api/v1" | |
} ], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// based on this blog post: | |
// http://druss.co/2016/04/export-all-workouts-from-sports-tracker/ | |
// then based on this gist implementation: | |
// https://gist.github.com/anonymous/9abc8d9c376bbc6aa853b477a50e8932 | |
// | |
// I've changed it so you don't need to do the "Load More Workouts" (it is downloaded through the API) | |
// Added possible customizations (easy to switch between curl and powershell) | |
// Get the url to use from the current document | |
// Fix the token parsing, it failed because there is no trailing ';' | |
// Added a # token at the end of the download command so you don't need to post-process when using firefox |