Skip to content

Commit 6b9f6bd

Browse files
committed
update java samples
1 parent 4185782 commit 6b9f6bd

File tree

2 files changed

+16
-8
lines changed
  • samples/client/petstore/java/okhttp-gson-3.1-duplicated-operationid/src/main/java/org/openapitools/client/api

2 files changed

+16
-8
lines changed

samples/client/petstore/java/okhttp-gson-3.1-duplicated-operationid/src/main/java/org/openapitools/client/api/FakeApi.java

+8-4
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ public void setCustomBaseUrl(String customBaseUrl) {
7777
* @return Call to execute
7878
* @throws ApiException If fail to serialize the request body object
7979
* @http.response.details
80-
<table summary="Response Details" border="1">
80+
<table border="1">
81+
<caption>Response Details</caption>
8182
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
8283
<tr><td> 200 </td><td> </td><td> - </td></tr>
8384
</table>
@@ -138,7 +139,8 @@ private okhttp3.Call getPetById0ValidateBeforeCall(final ApiCallback _callback)
138139
* @return Object
139140
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
140141
* @http.response.details
141-
<table summary="Response Details" border="1">
142+
<table border="1">
143+
<caption>Response Details</caption>
142144
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
143145
<tr><td> 200 </td><td> </td><td> - </td></tr>
144146
</table>
@@ -154,7 +156,8 @@ public Object getPetById0() throws ApiException {
154156
* @return ApiResponse&lt;Object&gt;
155157
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
156158
* @http.response.details
157-
<table summary="Response Details" border="1">
159+
<table border="1">
160+
<caption>Response Details</caption>
158161
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
159162
<tr><td> 200 </td><td> </td><td> - </td></tr>
160163
</table>
@@ -172,7 +175,8 @@ public ApiResponse<Object> getPetById0WithHttpInfo() throws ApiException {
172175
* @return The request call
173176
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
174177
* @http.response.details
175-
<table summary="Response Details" border="1">
178+
<table border="1">
179+
<caption>Response Details</caption>
176180
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
177181
<tr><td> 200 </td><td> </td><td> - </td></tr>
178182
</table>

samples/client/petstore/java/okhttp-gson-3.1-duplicated-operationid/src/main/java/org/openapitools/client/api/PetApi.java

+8-4
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ public void setCustomBaseUrl(String customBaseUrl) {
7878
* @return Call to execute
7979
* @throws ApiException If fail to serialize the request body object
8080
* @http.response.details
81-
<table summary="Response Details" border="1">
81+
<table border="1">
82+
<caption>Response Details</caption>
8283
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
8384
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
8485
<tr><td> 400 </td><td> Invalid ID supplied </td><td> - </td></tr>
@@ -149,7 +150,8 @@ private okhttp3.Call getPetByIdValidateBeforeCall(Long petId, final ApiCallback
149150
* @return Object
150151
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
151152
* @http.response.details
152-
<table summary="Response Details" border="1">
153+
<table border="1">
154+
<caption>Response Details</caption>
153155
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
154156
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
155157
<tr><td> 400 </td><td> Invalid ID supplied </td><td> - </td></tr>
@@ -168,7 +170,8 @@ public Object getPetById(Long petId) throws ApiException {
168170
* @return ApiResponse&lt;Object&gt;
169171
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
170172
* @http.response.details
171-
<table summary="Response Details" border="1">
173+
<table border="1">
174+
<caption>Response Details</caption>
172175
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
173176
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
174177
<tr><td> 400 </td><td> Invalid ID supplied </td><td> - </td></tr>
@@ -189,7 +192,8 @@ public ApiResponse<Object> getPetByIdWithHttpInfo(Long petId) throws ApiExceptio
189192
* @return The request call
190193
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
191194
* @http.response.details
192-
<table summary="Response Details" border="1">
195+
<table border="1">
196+
<caption>Response Details</caption>
193197
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
194198
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
195199
<tr><td> 400 </td><td> Invalid ID supplied </td><td> - </td></tr>

0 commit comments

Comments
 (0)