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

27
api/swagger-spec/api.json Normal file
View File

@@ -0,0 +1,27 @@
{
"swaggerVersion": "1.2",
"apiVersion": "",
"basePath": "127.0.0.1:8050",
"resourcePath": "/api",
"apis": [
{
"path": "/api",
"description": "get available api versions",
"operations": [
{
"type": "void",
"method": "GET",
"summary": "get available api versions",
"nickname": "getApiVersions",
"parameters": [],
"produces": [
"application/json"
],
"consumes": [
"application/json"
]
}
]
}
]
}