Skip to content

Commit

Permalink
fix: replace podName with nodeId in _.primary.swagger.json (#8385)
Browse files Browse the repository at this point in the history
Signed-off-by: Rohan Kumar <[email protected]>
  • Loading branch information
rohankmr414 authored Apr 12, 2022
1 parent f39d142 commit 637d14c
Show file tree
Hide file tree
Showing 5 changed files with 100 additions and 100 deletions.
16 changes: 8 additions & 8 deletions api/openapi-spec/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -4178,7 +4178,7 @@
}
}
},
"/artifacts-by-uid/{uid}/{podName}/{artifactName}": {
"/artifacts-by-uid/{uid}/{nodeId}/{artifactName}": {
"get": {
"tags": [
"ArtifactService"
Expand All @@ -4194,7 +4194,7 @@
},
{
"type": "string",
"name": "podName",
"name": "nodeId",
"in": "path",
"required": true
},
Expand All @@ -4218,7 +4218,7 @@
}
}
},
"/artifacts/{namespace}/{name}/{podName}/{artifactName}": {
"/artifacts/{namespace}/{name}/{nodeId}/{artifactName}": {
"get": {
"tags": [
"ArtifactService"
Expand All @@ -4240,7 +4240,7 @@
},
{
"type": "string",
"name": "podName",
"name": "nodeId",
"in": "path",
"required": true
},
Expand Down Expand Up @@ -4268,7 +4268,7 @@
}
}
},
"/input-artifacts-by-uid/{uid}/{podName}/{artifactName}": {
"/input-artifacts-by-uid/{uid}/{nodeId}/{artifactName}": {
"get": {
"tags": [
"ArtifactService"
Expand All @@ -4290,7 +4290,7 @@
},
{
"type": "string",
"name": "podName",
"name": "nodeId",
"in": "path",
"required": true
},
Expand Down Expand Up @@ -4318,7 +4318,7 @@
}
}
},
"/input-artifacts/{namespace}/{name}/{podName}/{artifactName}": {
"/input-artifacts/{namespace}/{name}/{nodeId}/{artifactName}": {
"get": {
"tags": [
"ArtifactService"
Expand All @@ -4340,7 +4340,7 @@
},
{
"type": "string",
"name": "podName",
"name": "nodeId",
"in": "path",
"required": true
},
Expand Down
16 changes: 8 additions & 8 deletions pkg/apiclient/_.primary.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
}
],
"paths": {
"/artifacts/{namespace}/{name}/{podName}/{artifactName}": {
"/artifacts/{namespace}/{name}/{nodeId}/{artifactName}": {
"get": {
"tags": [
"ArtifactService"
Expand All @@ -52,7 +52,7 @@
},
{
"type": "string",
"name": "podName",
"name": "nodeId",
"in": "path",
"required": true
},
Expand Down Expand Up @@ -80,7 +80,7 @@
}
}
},
"/input-artifacts/{namespace}/{name}/{podName}/{artifactName}": {
"/input-artifacts/{namespace}/{name}/{nodeId}/{artifactName}": {
"get": {
"tags": [
"ArtifactService"
Expand All @@ -102,7 +102,7 @@
},
{
"type": "string",
"name": "podName",
"name": "nodeId",
"in": "path",
"required": true
},
Expand Down Expand Up @@ -132,7 +132,7 @@
}
}
},
"/artifacts-by-uid/{uid}/{podName}/{artifactName}": {
"/artifacts-by-uid/{uid}/{nodeId}/{artifactName}": {
"get": {
"tags": [
"ArtifactService"
Expand All @@ -148,7 +148,7 @@
},
{
"type": "string",
"name": "podName",
"name": "nodeId",
"in": "path",
"required": true
},
Expand Down Expand Up @@ -178,7 +178,7 @@
}
}
},
"/input-artifacts-by-uid/{uid}/{podName}/{artifactName}": {
"/input-artifacts-by-uid/{uid}/{nodeId}/{artifactName}": {
"get": {
"tags": [
"ArtifactService"
Expand All @@ -200,7 +200,7 @@
},
{
"type": "string",
"name": "podName",
"name": "nodeId",
"in": "path",
"required": true
},
Expand Down
40 changes: 20 additions & 20 deletions sdks/java/client/docs/ArtifactServiceApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ All URIs are relative to *http://localhost:2746*

Method | HTTP request | Description
------------- | ------------- | -------------
[**artifactServiceGetInputArtifact**](ArtifactServiceApi.md#artifactServiceGetInputArtifact) | **GET** /input-artifacts/{namespace}/{name}/{podName}/{artifactName} | Get an input artifact.
[**artifactServiceGetInputArtifactByUID**](ArtifactServiceApi.md#artifactServiceGetInputArtifactByUID) | **GET** /input-artifacts-by-uid/{uid}/{podName}/{artifactName} | Get an input artifact by UID.
[**artifactServiceGetOutputArtifact**](ArtifactServiceApi.md#artifactServiceGetOutputArtifact) | **GET** /artifacts/{namespace}/{name}/{podName}/{artifactName} | Get an output artifact.
[**artifactServiceGetOutputArtifactByUID**](ArtifactServiceApi.md#artifactServiceGetOutputArtifactByUID) | **GET** /artifacts-by-uid/{uid}/{podName}/{artifactName} | Get an output artifact by UID.
[**artifactServiceGetInputArtifact**](ArtifactServiceApi.md#artifactServiceGetInputArtifact) | **GET** /input-artifacts/{namespace}/{name}/{nodeId}/{artifactName} | Get an input artifact.
[**artifactServiceGetInputArtifactByUID**](ArtifactServiceApi.md#artifactServiceGetInputArtifactByUID) | **GET** /input-artifacts-by-uid/{uid}/{nodeId}/{artifactName} | Get an input artifact by UID.
[**artifactServiceGetOutputArtifact**](ArtifactServiceApi.md#artifactServiceGetOutputArtifact) | **GET** /artifacts/{namespace}/{name}/{nodeId}/{artifactName} | Get an output artifact.
[**artifactServiceGetOutputArtifactByUID**](ArtifactServiceApi.md#artifactServiceGetOutputArtifactByUID) | **GET** /artifacts-by-uid/{uid}/{nodeId}/{artifactName} | Get an output artifact by UID.


<a name="artifactServiceGetInputArtifact"></a>
# **artifactServiceGetInputArtifact**
> artifactServiceGetInputArtifact(namespace, name, podName, artifactName)
> artifactServiceGetInputArtifact(namespace, name, nodeId, artifactName)
Get an input artifact.

Expand Down Expand Up @@ -40,10 +40,10 @@ public class Example {
ArtifactServiceApi apiInstance = new ArtifactServiceApi(defaultClient);
String namespace = "namespace_example"; // String |
String name = "name_example"; // String |
String podName = "podName_example"; // String |
String nodeId = "nodeId_example"; // String |
String artifactName = "artifactName_example"; // String |
try {
apiInstance.artifactServiceGetInputArtifact(namespace, name, podName, artifactName);
apiInstance.artifactServiceGetInputArtifact(namespace, name, nodeId, artifactName);
} catch (ApiException e) {
System.err.println("Exception when calling ArtifactServiceApi#artifactServiceGetInputArtifact");
System.err.println("Status code: " + e.getCode());
Expand All @@ -61,7 +61,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**namespace** | **String**| |
**name** | **String**| |
**podName** | **String**| |
**nodeId** | **String**| |
**artifactName** | **String**| |

### Return type
Expand All @@ -85,7 +85,7 @@ null (empty response body)

<a name="artifactServiceGetInputArtifactByUID"></a>
# **artifactServiceGetInputArtifactByUID**
> File artifactServiceGetInputArtifactByUID(namespace, uid, podName, artifactName)
> File artifactServiceGetInputArtifactByUID(namespace, uid, nodeId, artifactName)
Get an input artifact by UID.

Expand Down Expand Up @@ -113,10 +113,10 @@ public class Example {
ArtifactServiceApi apiInstance = new ArtifactServiceApi(defaultClient);
String namespace = "namespace_example"; // String |
String uid = "uid_example"; // String |
String podName = "podName_example"; // String |
String nodeId = "nodeId_example"; // String |
String artifactName = "artifactName_example"; // String |
try {
File result = apiInstance.artifactServiceGetInputArtifactByUID(namespace, uid, podName, artifactName);
File result = apiInstance.artifactServiceGetInputArtifactByUID(namespace, uid, nodeId, artifactName);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ArtifactServiceApi#artifactServiceGetInputArtifactByUID");
Expand All @@ -135,7 +135,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**namespace** | **String**| |
**uid** | **String**| |
**podName** | **String**| |
**nodeId** | **String**| |
**artifactName** | **String**| |

### Return type
Expand All @@ -159,7 +159,7 @@ Name | Type | Description | Notes

<a name="artifactServiceGetOutputArtifact"></a>
# **artifactServiceGetOutputArtifact**
> File artifactServiceGetOutputArtifact(namespace, name, podName, artifactName)
> File artifactServiceGetOutputArtifact(namespace, name, nodeId, artifactName)
Get an output artifact.

Expand Down Expand Up @@ -187,10 +187,10 @@ public class Example {
ArtifactServiceApi apiInstance = new ArtifactServiceApi(defaultClient);
String namespace = "namespace_example"; // String |
String name = "name_example"; // String |
String podName = "podName_example"; // String |
String nodeId = "nodeId_example"; // String |
String artifactName = "artifactName_example"; // String |
try {
File result = apiInstance.artifactServiceGetOutputArtifact(namespace, name, podName, artifactName);
File result = apiInstance.artifactServiceGetOutputArtifact(namespace, name, nodeId, artifactName);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ArtifactServiceApi#artifactServiceGetOutputArtifact");
Expand All @@ -209,7 +209,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**namespace** | **String**| |
**name** | **String**| |
**podName** | **String**| |
**nodeId** | **String**| |
**artifactName** | **String**| |

### Return type
Expand All @@ -233,7 +233,7 @@ Name | Type | Description | Notes

<a name="artifactServiceGetOutputArtifactByUID"></a>
# **artifactServiceGetOutputArtifactByUID**
> artifactServiceGetOutputArtifactByUID(uid, podName, artifactName)
> artifactServiceGetOutputArtifactByUID(uid, nodeId, artifactName)
Get an output artifact by UID.

Expand All @@ -260,10 +260,10 @@ public class Example {

ArtifactServiceApi apiInstance = new ArtifactServiceApi(defaultClient);
String uid = "uid_example"; // String |
String podName = "podName_example"; // String |
String nodeId = "nodeId_example"; // String |
String artifactName = "artifactName_example"; // String |
try {
apiInstance.artifactServiceGetOutputArtifactByUID(uid, podName, artifactName);
apiInstance.artifactServiceGetOutputArtifactByUID(uid, nodeId, artifactName);
} catch (ApiException e) {
System.err.println("Exception when calling ArtifactServiceApi#artifactServiceGetOutputArtifactByUID");
System.err.println("Status code: " + e.getCode());
Expand All @@ -280,7 +280,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**uid** | **String**| |
**podName** | **String**| |
**nodeId** | **String**| |
**artifactName** | **String**| |

### Return type
Expand Down
Loading

0 comments on commit 637d14c

Please sign in to comment.