Adding static swagger spec and a script to update it

This commit is contained in:
nikhiljindal
2015-02-04 20:19:00 -08:00
parent 5fb9009f89
commit fe27529d7e
7 changed files with 12440 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
{
"swaggerVersion": "1.2",
"apiVersion": "",
"basePath": "127.0.0.1:8050",
"resourcePath": "/version",
"apis": [
{
"path": "/version",
"description": "git code version from which this is built",
"operations": [
{
"type": "void",
"method": "GET",
"summary": "get the code version",
"nickname": "getCodeVersion",
"parameters": [],
"produces": [
"application/json"
],
"consumes": [
"application/json"
]
}
]
}
]
}