Skip to content

Commit da8a921

Browse files
authored
update swagger.json for v1.3 API docs (#574)
Update swagger.json file with regenerated content from the latest HEAD of the v1.3 branch. This updates the v1.3 API docs, including the changes introduced by the backport of harvester/harvester#5511 here: harvester/harvester#5850 Signed-off-by: Moritz Röhrich <[email protected]>
1 parent 4f032c4 commit da8a921

File tree

1 file changed

+96
-27
lines changed

1 file changed

+96
-27
lines changed

api/v1.3-swagger.json

Lines changed: 96 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -7798,9 +7798,9 @@
77987798
"tags": [
77997799
"Networks"
78007800
],
7801-
"summary": "List Cluster Networks",
7802-
"description": "Get a list of all ClusterNetwork objects.",
7803-
"operationId": "listClusterNetwork",
7801+
"summary": "List Namespaced Cluster Networks",
7802+
"description": "Get a list of ClusterNetwork objects in a namespace.",
7803+
"operationId": "listNamespacedClusterNetwork",
78047804
"parameters": [
78057805
{
78067806
"name": "continue",
@@ -7842,6 +7842,16 @@
78427842
"type": "integer"
78437843
}
78447844
},
7845+
{
7846+
"name": "namespace",
7847+
"in": "path",
7848+
"description": "Object name and auth scope, such as for teams and projects",
7849+
"required": true,
7850+
"schema": {
7851+
"type": "string",
7852+
"pattern": "[a-z0-9][a-z0-9\\-]*"
7853+
}
7854+
},
78457855
{
78467856
"name": "resourceVersion",
78477857
"in": "query",
@@ -7914,9 +7924,21 @@
79147924
"tags": [
79157925
"Networks"
79167926
],
7917-
"summary": "Create a Cluster Network",
7927+
"summary": "Create a Namespaced Cluster Network",
79187928
"description": "Create a ClusterNetwork object.",
7919-
"operationId": "createClusterNetwork",
7929+
"operationId": "createNamespacedClusterNetwork",
7930+
"parameters": [
7931+
{
7932+
"name": "namespace",
7933+
"in": "path",
7934+
"description": "Object name and auth scope, such as for teams and projects",
7935+
"required": true,
7936+
"schema": {
7937+
"type": "string",
7938+
"pattern": "[a-z0-9][a-z0-9\\-]*"
7939+
}
7940+
}
7941+
],
79207942
"requestBody": {
79217943
"content": {
79227944
"application/json": {
@@ -8001,9 +8023,9 @@
80018023
"tags": [
80028024
"Networks"
80038025
],
8004-
"summary": "Read a Cluster Network",
8026+
"summary": "Read a Namespaced Cluster Network",
80058027
"description": "Get a ClusterNetwork object.",
8006-
"operationId": "readClusterNetwork",
8028+
"operationId": "readNamespacedClusterNetwork",
80078029
"parameters": [
80088030
{
80098031
"name": "exact",
@@ -8069,9 +8091,9 @@
80698091
"tags": [
80708092
"Networks"
80718093
],
8072-
"summary": "Replace a Cluster Network",
8094+
"summary": "Replace a Namespaced Cluster Network",
80738095
"description": "Update a ClusterNetwork object.",
8074-
"operationId": "replaceClusterNetwork",
8096+
"operationId": "replaceNamespacedClusterNetwork",
80758097
"requestBody": {
80768098
"content": {
80778099
"application/json": {
@@ -8139,9 +8161,9 @@
81398161
"tags": [
81408162
"Networks"
81418163
],
8142-
"summary": "Delete a Cluster Network",
8164+
"summary": "Delete a Namespaced Cluster Network",
81438165
"description": "Delete a ClusterNetwork object.",
8144-
"operationId": "deleteClusterNetwork",
8166+
"operationId": "deleteNamespacedClusterNetwork",
81458167
"parameters": [
81468168
{
81478169
"name": "gracePeriodSeconds",
@@ -8220,9 +8242,9 @@
82208242
"tags": [
82218243
"Networks"
82228244
],
8223-
"summary": "Patch a Cluster Network",
8245+
"summary": "Patch a Namespaced Cluster Network",
82248246
"description": "Patch a ClusterNetwork object.",
8225-
"operationId": "patchClusterNetwork",
8247+
"operationId": "patchNamespacedClusterNetwork",
82268248
"requestBody": {
82278249
"content": {
82288250
"application/json-patch+json": {
@@ -8271,6 +8293,16 @@
82718293
"type": "string",
82728294
"pattern": "[a-z0-9][a-z0-9\\-]*"
82738295
}
8296+
},
8297+
{
8298+
"name": "namespace",
8299+
"in": "path",
8300+
"description": "Object name and auth scope, such as for teams and projects",
8301+
"required": true,
8302+
"schema": {
8303+
"type": "string",
8304+
"pattern": "[a-z0-9][a-z0-9\\-]*"
8305+
}
82748306
}
82758307
]
82768308
},
@@ -8279,9 +8311,9 @@
82798311
"tags": [
82808312
"Networks"
82818313
],
8282-
"summary": "List Node Networks",
8283-
"description": "Get a list of all NodeNetwork objects.",
8284-
"operationId": "listNodeNetwork",
8314+
"summary": "List Namespaced Node Networks",
8315+
"description": "Get a list of NodeNetwork objects in a namespace.",
8316+
"operationId": "listNamespacedNodeNetwork",
82858317
"parameters": [
82868318
{
82878319
"name": "continue",
@@ -8323,6 +8355,16 @@
83238355
"type": "integer"
83248356
}
83258357
},
8358+
{
8359+
"name": "namespace",
8360+
"in": "path",
8361+
"description": "Object name and auth scope, such as for teams and projects",
8362+
"required": true,
8363+
"schema": {
8364+
"type": "string",
8365+
"pattern": "[a-z0-9][a-z0-9\\-]*"
8366+
}
8367+
},
83268368
{
83278369
"name": "resourceVersion",
83288370
"in": "query",
@@ -8395,9 +8437,21 @@
83958437
"tags": [
83968438
"Networks"
83978439
],
8398-
"summary": "Create a Node Network",
8440+
"summary": "Create a Namespaced Node Network",
83998441
"description": "Create a NodeNetwork object.",
8400-
"operationId": "createNodeNetwork",
8442+
"operationId": "createNamespacedNodeNetwork",
8443+
"parameters": [
8444+
{
8445+
"name": "namespace",
8446+
"in": "path",
8447+
"description": "Object name and auth scope, such as for teams and projects",
8448+
"required": true,
8449+
"schema": {
8450+
"type": "string",
8451+
"pattern": "[a-z0-9][a-z0-9\\-]*"
8452+
}
8453+
}
8454+
],
84018455
"requestBody": {
84028456
"content": {
84038457
"application/json": {
@@ -8482,9 +8536,9 @@
84828536
"tags": [
84838537
"Networks"
84848538
],
8485-
"summary": "Read a Node Network",
8539+
"summary": "Read a Namespaced Node Network",
84868540
"description": "Get a NodeNetwork object.",
8487-
"operationId": "readNodeNetwork",
8541+
"operationId": "readNamespacedNodeNetwork",
84888542
"parameters": [
84898543
{
84908544
"name": "exact",
@@ -8550,9 +8604,9 @@
85508604
"tags": [
85518605
"Networks"
85528606
],
8553-
"summary": "Replace a Node Network",
8607+
"summary": "Replace a Namespaced Node Network",
85548608
"description": "Update a NodeNetwork object.",
8555-
"operationId": "replaceNodeNetwork",
8609+
"operationId": "replaceNamespacedNodeNetwork",
85568610
"requestBody": {
85578611
"content": {
85588612
"application/json": {
@@ -8620,9 +8674,9 @@
86208674
"tags": [
86218675
"Networks"
86228676
],
8623-
"summary": "Delete a Node Network",
8677+
"summary": "Delete a Namespaced Node Network",
86248678
"description": "Delete a NodeNetwork object.",
8625-
"operationId": "deleteNodeNetwork",
8679+
"operationId": "deleteNamespacedNodeNetwork",
86268680
"parameters": [
86278681
{
86288682
"name": "gracePeriodSeconds",
@@ -8701,9 +8755,9 @@
87018755
"tags": [
87028756
"Networks"
87038757
],
8704-
"summary": "Patch a Node Network",
8758+
"summary": "Patch a Namespaced Node Network",
87058759
"description": "Patch a NodeNetwork object.",
8706-
"operationId": "patchNodeNetwork",
8760+
"operationId": "patchNamespacedNodeNetwork",
87078761
"requestBody": {
87088762
"content": {
87098763
"application/json-patch+json": {
@@ -8752,6 +8806,16 @@
87528806
"type": "string",
87538807
"pattern": "[a-z0-9][a-z0-9\\-]*"
87548808
}
8809+
},
8810+
{
8811+
"name": "namespace",
8812+
"in": "path",
8813+
"description": "Object name and auth scope, such as for teams and projects",
8814+
"required": true,
8815+
"schema": {
8816+
"type": "string",
8817+
"pattern": "[a-z0-9][a-z0-9\\-]*"
8818+
}
87558819
}
87568820
]
87578821
}
@@ -9492,7 +9556,12 @@
94929556
},
94939557
"sourceType": {
94949558
"type": "string",
9495-
"default": ""
9559+
"default": "",
9560+
"enum": [
9561+
"download",
9562+
"export-from-volume",
9563+
"upload"
9564+
]
94969565
},
94979566
"storageClassParameters": {
94989567
"type": "object",

0 commit comments

Comments
 (0)