Skip to content

Commit 6ecb8a3

Browse files
committed
add api param annotation for raw okhttp cal methods
1 parent e6e97ae commit 6ecb8a3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+8783
-6671
lines changed

kubernetes/src/main/java/io/kubernetes/client/apis/AdmissionregistrationApi.java

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import io.kubernetes.client.ProgressResponseBody;
2424

2525
import com.google.gson.reflect.TypeToken;
26-
26+
import io.swagger.annotations.ApiParam;
2727
import java.io.IOException;
2828

2929

@@ -61,9 +61,10 @@ public void setApiClient(ApiClient apiClient) {
6161
* @return Call to execute
6262
* @throws ApiException If fail to serialize the request body object
6363
*/
64-
public com.squareup.okhttp.Call getAPIGroupCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
64+
public com.squareup.okhttp.Call getAPIGroupCall(
65+
final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
6566
Object localVarPostBody = null;
66-
67+
6768
// create path and map variables
6869
String localVarPath = "/apis/admissionregistration.k8s.io/";
6970

@@ -101,18 +102,14 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
101102
String[] localVarAuthNames = new String[] { "BearerToken" };
102103
return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
103104
}
104-
105+
105106
@SuppressWarnings("rawtypes")
106107
private com.squareup.okhttp.Call getAPIGroupValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
107108

108-
109+
109110
com.squareup.okhttp.Call call = getAPIGroupCall(progressListener, progressRequestListener);
110111
return call;
111112

112-
113-
114-
115-
116113
}
117114

118115
/**

kubernetes/src/main/java/io/kubernetes/client/apis/AdmissionregistrationV1alpha1Api.java

Lines changed: 82 additions & 65 deletions
Large diffs are not rendered by default.

kubernetes/src/main/java/io/kubernetes/client/apis/AdmissionregistrationV1beta1Api.java

Lines changed: 158 additions & 121 deletions
Large diffs are not rendered by default.

kubernetes/src/main/java/io/kubernetes/client/apis/ApiextensionsApi.java

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import io.kubernetes.client.ProgressResponseBody;
2424

2525
import com.google.gson.reflect.TypeToken;
26-
26+
import io.swagger.annotations.ApiParam;
2727
import java.io.IOException;
2828

2929

@@ -61,9 +61,10 @@ public void setApiClient(ApiClient apiClient) {
6161
* @return Call to execute
6262
* @throws ApiException If fail to serialize the request body object
6363
*/
64-
public com.squareup.okhttp.Call getAPIGroupCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
64+
public com.squareup.okhttp.Call getAPIGroupCall(
65+
final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
6566
Object localVarPostBody = null;
66-
67+
6768
// create path and map variables
6869
String localVarPath = "/apis/apiextensions.k8s.io/";
6970

@@ -101,18 +102,14 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
101102
String[] localVarAuthNames = new String[] { "BearerToken" };
102103
return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
103104
}
104-
105+
105106
@SuppressWarnings("rawtypes")
106107
private com.squareup.okhttp.Call getAPIGroupValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
107108

108-
109+
109110
com.squareup.okhttp.Call call = getAPIGroupCall(progressListener, progressRequestListener);
110111
return call;
111112

112-
113-
114-
115-
116113
}
117114

118115
/**

kubernetes/src/main/java/io/kubernetes/client/apis/ApiextensionsV1beta1Api.java

Lines changed: 107 additions & 89 deletions
Large diffs are not rendered by default.

kubernetes/src/main/java/io/kubernetes/client/apis/ApiregistrationApi.java

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import io.kubernetes.client.ProgressResponseBody;
2424

2525
import com.google.gson.reflect.TypeToken;
26-
26+
import io.swagger.annotations.ApiParam;
2727
import java.io.IOException;
2828

2929

@@ -61,9 +61,10 @@ public void setApiClient(ApiClient apiClient) {
6161
* @return Call to execute
6262
* @throws ApiException If fail to serialize the request body object
6363
*/
64-
public com.squareup.okhttp.Call getAPIGroupCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
64+
public com.squareup.okhttp.Call getAPIGroupCall(
65+
final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
6566
Object localVarPostBody = null;
66-
67+
6768
// create path and map variables
6869
String localVarPath = "/apis/apiregistration.k8s.io/";
6970

@@ -101,18 +102,14 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
101102
String[] localVarAuthNames = new String[] { "BearerToken" };
102103
return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
103104
}
104-
105+
105106
@SuppressWarnings("rawtypes")
106107
private com.squareup.okhttp.Call getAPIGroupValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
107108

108-
109+
109110
com.squareup.okhttp.Call call = getAPIGroupCall(progressListener, progressRequestListener);
110111
return call;
111112

112-
113-
114-
115-
116113
}
117114

118115
/**

0 commit comments

Comments
 (0)