Skip to content

Commit c088298

Browse files
committed
Remove okhttp dependency
1 parent c52d2af commit c088298

15 files changed

Lines changed: 627 additions & 502 deletions

openapi/api.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2957,7 +2957,6 @@ paths:
29572957
- lang: Java
29582958
source: |
29592959
ListAccountCouponRedemptionsParams params = new ListAccountCouponRedemptionsParams();
2960-
params.setLimit(200); // Pull 200 records at a time
29612960
final Pager<CouponRedemption> redemptions = client.listAccountCouponRedemptions(accountId, params);
29622961

29632962
for (CouponRedemption redemption : redemptions) {
@@ -4501,7 +4500,6 @@ paths:
45014500
- lang: Java
45024501
source: |
45034502
ListAccountNotesParams params = new ListAccountNotesParams();
4504-
params.setLimit(200); // Pull 200 records at a time
45054503
final Pager<AccountNote> notes = client.listAccountNotes(accountId, params);
45064504

45074505
for (AccountNote note : notes) {
@@ -10132,7 +10130,6 @@ paths:
1013210130
- lang: Java
1013310131
source: |
1013410132
ListInvoiceCouponRedemptionsParams params = new ListInvoiceCouponRedemptionsParams();
10135-
params.setLimit(200); // Pull 200 records at a time
1013610133
final Pager<CouponRedemption> redemptions = client.listInvoiceCouponRedemptions(invoiceId, params);
1013710134

1013810135
for (CouponRedemption redemption : redemptions) {
@@ -14787,7 +14784,6 @@ paths:
1478714784
- lang: Java
1478814785
source: |
1478914786
ListSubscriptionCouponRedemptionsParams params = new ListSubscriptionCouponRedemptionsParams();
14790-
params.setLimit(200); // Pull 200 records at a time
1479114787
final Pager<CouponRedemption> redemptions = client.listSubscriptionCouponRedemptions(subscriptionId, params);
1479214788

1479314789
for (CouponRedemption redemption : redemptions) {

pom.xml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
<java.version>1.8</java.version>
6262
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
6363
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
64-
<okhttp3.version>4.12.0</okhttp3.version>
6564
<surefire.version>3.0.0-M4</surefire.version>
6665
<jacoco.version>0.8.12</jacoco.version>
6766
</properties>
@@ -227,23 +226,6 @@
227226
<artifactId>gson</artifactId>
228227
<version>2.8.9</version>
229228
</dependency>
230-
<dependency>
231-
<groupId>com.squareup.okhttp3</groupId>
232-
<artifactId>okhttp</artifactId>
233-
<version>${okhttp3.version}</version>
234-
</dependency>
235-
<dependency>
236-
<groupId>com.squareup.okhttp3</groupId>
237-
<artifactId>logging-interceptor</artifactId>
238-
<version>${okhttp3.version}</version>
239-
</dependency>
240-
<dependency>
241-
<groupId>com.squareup.okhttp3</groupId>
242-
<artifactId>mockwebserver</artifactId>
243-
<version>${okhttp3.version}</version>
244-
<scope>test</scope>
245-
</dependency>
246-
247229
<dependency>
248230
<groupId>org.apache.maven.surefire</groupId>
249231
<artifactId>surefire</artifactId>

0 commit comments

Comments
 (0)