mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-05 19:21:37 +00:00
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"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
30
api/swagger-spec/resourceListing.json
Normal file
30
api/swagger-spec/resourceListing.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"swaggerVersion": "1.2",
|
||||
"apis": [
|
||||
{
|
||||
"path": "/api/v1beta1",
|
||||
"description": "API at /api/v1beta1 version v1beta1"
|
||||
},
|
||||
{
|
||||
"path": "/api/v1beta2",
|
||||
"description": "API at /api/v1beta2 version v1beta2"
|
||||
},
|
||||
{
|
||||
"path": "/api/v1beta3",
|
||||
"description": "API at /api/v1beta3 version v1beta3"
|
||||
},
|
||||
{
|
||||
"path": "/api",
|
||||
"description": "get available api versions"
|
||||
},
|
||||
{
|
||||
"path": "/version",
|
||||
"description": "git code version from which this is built"
|
||||
}
|
||||
],
|
||||
"apiVersion": "",
|
||||
"info": {
|
||||
"title": "",
|
||||
"description": ""
|
||||
}
|
||||
}
|
4247
api/swagger-spec/v1beta1.json
Normal file
4247
api/swagger-spec/v1beta1.json
Normal file
File diff suppressed because it is too large
Load Diff
4226
api/swagger-spec/v1beta2.json
Normal file
4226
api/swagger-spec/v1beta2.json
Normal file
File diff suppressed because it is too large
Load Diff
3812
api/swagger-spec/v1beta3.json
Normal file
3812
api/swagger-spec/v1beta3.json
Normal file
File diff suppressed because it is too large
Load Diff
27
api/swagger-spec/version.json
Normal file
27
api/swagger-spec/version.json
Normal 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"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user