Last active
April 14, 2017 21:29
-
-
Save CrowderSoup/a305904eb01bcf3e7daa3448ee845bc5 to your computer and use it in GitHub Desktop.
VSCode Task for serving swagger docs with http://goswagger.io
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
{ | |
"version": "0.1.0", | |
"command": "bash", | |
"isShellCommand": true, | |
"showOutput": "always", | |
"args": [ | |
"-c" | |
], | |
"tasks": [{ | |
"taskName": "swagger", | |
"suppressTaskName": true, | |
"args": [ | |
"swagger serve ${workspaceRoot}/swagger/swagger.json --host=localhost --port=8081 -F swagger" | |
] | |
}, | |
{ | |
"taskName": "stop swagger", | |
"suppressTaskName": true, | |
"args": [ | |
"killall swagger" | |
] | |
}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment