Adding static swagger spec and a script to update it
This commit is contained in:
27
api/swagger-spec/api.json
Normal file
27
api/swagger-spec/api.json
Normal 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"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user