Commit 58dd030
[JAVA] use query parameter apikey if present (#19334)
* Fix #16362
* Update samples
* Undo formatting changes
* Revert whitespace changes in samples
* make it work
---------
Co-authored-by: Jason Boileau <jason@boileau.dk>
Co-authored-by: Jason Boileau <spraot@users.noreply.github.com>1 parent d55525f commit 58dd030
14 files changed
Lines changed: 56 additions & 84 deletions
File tree
- modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson
- samples/client
- echo_api/java
- okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client
- okhttp-gson/src/main/java/org/openapitools/client
- others/java
- okhttp-gson-oneOf/src/main/java/org/openapitools/client
- okhttp-gson-streaming/src/main/java/org/openapitools/client
- petstore/java
- okhttp-gson-3.1/src/main/java/org/openapitools/client
- okhttp-gson-awsv4signature/src/main/java/org/openapitools/client
- okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client
- okhttp-gson-group-parameter/src/main/java/org/openapitools/client
- okhttp-gson-nullable-required/src/main/java/org/openapitools/client
- okhttp-gson-parcelableModel/src/main/java/org/openapitools/client
- okhttp-gson-swagger1/src/main/java/org/openapitools/client
- okhttp-gson-swagger2/src/main/java/org/openapitools/client
- okhttp-gson/src/main/java/org/openapitools/client
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1450 | 1450 | | |
1451 | 1451 | | |
1452 | 1452 | | |
1453 | | - | |
1454 | | - | |
1455 | | - | |
1456 | | - | |
1457 | 1453 | | |
1458 | 1454 | | |
1459 | 1455 | | |
| |||
1481 | 1477 | | |
1482 | 1478 | | |
1483 | 1479 | | |
| 1480 | + | |
| 1481 | + | |
1484 | 1482 | | |
1485 | | - | |
| 1483 | + | |
1486 | 1484 | | |
1487 | | - | |
| 1485 | + | |
1488 | 1486 | | |
1489 | 1487 | | |
1490 | 1488 | | |
| |||
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1267 | 1267 | | |
1268 | 1268 | | |
1269 | 1269 | | |
1270 | | - | |
1271 | | - | |
1272 | | - | |
1273 | | - | |
1274 | 1270 | | |
1275 | 1271 | | |
1276 | 1272 | | |
| |||
1298 | 1294 | | |
1299 | 1295 | | |
1300 | 1296 | | |
| 1297 | + | |
| 1298 | + | |
1301 | 1299 | | |
1302 | | - | |
| 1300 | + | |
1303 | 1301 | | |
1304 | | - | |
| 1302 | + | |
1305 | 1303 | | |
1306 | 1304 | | |
1307 | 1305 | | |
| |||
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1197 | 1197 | | |
1198 | 1198 | | |
1199 | 1199 | | |
1200 | | - | |
1201 | | - | |
1202 | | - | |
1203 | | - | |
1204 | 1200 | | |
1205 | 1201 | | |
1206 | 1202 | | |
| |||
1228 | 1224 | | |
1229 | 1225 | | |
1230 | 1226 | | |
| 1227 | + | |
| 1228 | + | |
1231 | 1229 | | |
1232 | | - | |
| 1230 | + | |
1233 | 1231 | | |
1234 | | - | |
| 1232 | + | |
1235 | 1233 | | |
1236 | 1234 | | |
1237 | 1235 | | |
| |||
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1171 | 1171 | | |
1172 | 1172 | | |
1173 | 1173 | | |
1174 | | - | |
1175 | | - | |
1176 | | - | |
1177 | | - | |
1178 | 1174 | | |
1179 | 1175 | | |
1180 | 1176 | | |
| |||
1202 | 1198 | | |
1203 | 1199 | | |
1204 | 1200 | | |
| 1201 | + | |
| 1202 | + | |
1205 | 1203 | | |
1206 | | - | |
| 1204 | + | |
1207 | 1205 | | |
1208 | | - | |
| 1206 | + | |
1209 | 1207 | | |
1210 | 1208 | | |
1211 | 1209 | | |
| |||
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1194 | 1194 | | |
1195 | 1195 | | |
1196 | 1196 | | |
1197 | | - | |
1198 | | - | |
1199 | | - | |
1200 | | - | |
1201 | 1197 | | |
1202 | 1198 | | |
1203 | 1199 | | |
| |||
1225 | 1221 | | |
1226 | 1222 | | |
1227 | 1223 | | |
| 1224 | + | |
| 1225 | + | |
1228 | 1226 | | |
1229 | | - | |
| 1227 | + | |
1230 | 1228 | | |
1231 | | - | |
| 1229 | + | |
1232 | 1230 | | |
1233 | 1231 | | |
1234 | 1232 | | |
| |||
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1267 | 1267 | | |
1268 | 1268 | | |
1269 | 1269 | | |
1270 | | - | |
1271 | | - | |
1272 | | - | |
1273 | | - | |
1274 | 1270 | | |
1275 | 1271 | | |
1276 | 1272 | | |
| |||
1298 | 1294 | | |
1299 | 1295 | | |
1300 | 1296 | | |
| 1297 | + | |
| 1298 | + | |
1301 | 1299 | | |
1302 | | - | |
| 1300 | + | |
1303 | 1301 | | |
1304 | | - | |
| 1302 | + | |
1305 | 1303 | | |
1306 | 1304 | | |
1307 | 1305 | | |
| |||
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1287 | 1287 | | |
1288 | 1288 | | |
1289 | 1289 | | |
1290 | | - | |
1291 | | - | |
1292 | | - | |
1293 | | - | |
1294 | 1290 | | |
1295 | 1291 | | |
1296 | 1292 | | |
| |||
1318 | 1314 | | |
1319 | 1315 | | |
1320 | 1316 | | |
| 1317 | + | |
| 1318 | + | |
1321 | 1319 | | |
1322 | | - | |
| 1320 | + | |
1323 | 1321 | | |
1324 | | - | |
| 1322 | + | |
1325 | 1323 | | |
1326 | 1324 | | |
1327 | 1325 | | |
| |||
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1272 | 1272 | | |
1273 | 1273 | | |
1274 | 1274 | | |
1275 | | - | |
1276 | | - | |
1277 | | - | |
1278 | | - | |
1279 | 1275 | | |
1280 | 1276 | | |
1281 | 1277 | | |
| |||
1303 | 1299 | | |
1304 | 1300 | | |
1305 | 1301 | | |
| 1302 | + | |
| 1303 | + | |
1306 | 1304 | | |
1307 | | - | |
| 1305 | + | |
1308 | 1306 | | |
1309 | | - | |
| 1307 | + | |
1310 | 1308 | | |
1311 | 1309 | | |
1312 | 1310 | | |
| |||
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1267 | 1267 | | |
1268 | 1268 | | |
1269 | 1269 | | |
1270 | | - | |
1271 | | - | |
1272 | | - | |
1273 | | - | |
1274 | 1270 | | |
1275 | 1271 | | |
1276 | 1272 | | |
| |||
1298 | 1294 | | |
1299 | 1295 | | |
1300 | 1296 | | |
| 1297 | + | |
| 1298 | + | |
1301 | 1299 | | |
1302 | | - | |
| 1300 | + | |
1303 | 1301 | | |
1304 | | - | |
| 1302 | + | |
1305 | 1303 | | |
1306 | 1304 | | |
1307 | 1305 | | |
| |||
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1270 | 1270 | | |
1271 | 1271 | | |
1272 | 1272 | | |
1273 | | - | |
1274 | | - | |
1275 | | - | |
1276 | | - | |
1277 | 1273 | | |
1278 | 1274 | | |
1279 | 1275 | | |
| |||
1301 | 1297 | | |
1302 | 1298 | | |
1303 | 1299 | | |
| 1300 | + | |
| 1301 | + | |
1304 | 1302 | | |
1305 | | - | |
| 1303 | + | |
1306 | 1304 | | |
1307 | | - | |
| 1305 | + | |
1308 | 1306 | | |
1309 | 1307 | | |
1310 | 1308 | | |
| |||
0 commit comments