Skip to content

Commit 17429e5

Browse files
authored
Merge branch 'main' into snyk-fix-76185ed74bda13d674c5530850f6b592
2 parents f37cd12 + 5d0b430 commit 17429e5

File tree

108 files changed

+5219
-4448
lines changed

Some content is hidden

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

108 files changed

+5219
-4448
lines changed

.github/workflows/deploy.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,16 @@ jobs:
6060
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
6161
gpg-passphrase: MAVEN_GPG_PASSPHRASE
6262

63+
- name: Build SDK
64+
uses: Bandwidth/[email protected]
65+
with:
66+
openapi-generator-version: 7.9.0
67+
language: java
68+
additional-properties: --additional-properties=artifactVersion=$RELEASE_VERSION
69+
70+
- name: Clean SDK
71+
run: mvn clean
72+
6373
- name: Set Maven Project Version
6474
run: mvn versions:set -DnewVersion=$RELEASE_VERSION
6575

@@ -131,6 +141,16 @@ jobs:
131141
- name: Get Maven Project Version
132142
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/v}" >> $GITHUB_ENV
133143

144+
- name: Build SDK
145+
uses: Bandwidth/[email protected]
146+
with:
147+
openapi-generator-version: 7.9.0
148+
language: java
149+
additional-properties: --additional-properties=artifactVersion=$RELEASE_VERSION
150+
151+
- name: Clean SDK
152+
run: mvn clean
153+
134154
- name: Set Maven Project Version
135155
run: mvn versions:set -DnewVersion=$RELEASE_VERSION
136156

.openapi-generator-ignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
99
#ApiClient.cs
1010

11-
pom.xml
11+
# pom.xml
1212
.idea
1313
.gitignore
1414
.github/workflows/maven.yml

.openapi-generator/FILES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ gradle/wrapper/gradle-wrapper.jar
111111
gradle/wrapper/gradle-wrapper.properties
112112
gradlew
113113
gradlew.bat
114+
pom.xml
114115
settings.gradle
115116
src/main/AndroidManifest.xml
116117
src/main/java/com/bandwidth/sdk/ApiCallback.java

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.6.0
1+
7.10.0

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Bandwidth
44
- API version: 1.0.0
5-
- Generator version: 7.6.0
5+
- Generator version: 7.10.0
66

77
Bandwidth's Communication APIs
88

@@ -41,7 +41,7 @@ Add this dependency to your project's POM:
4141
<dependency>
4242
<groupId>com.bandwidth.sdk</groupId>
4343
<artifactId>bandwidth-sdk</artifactId>
44-
<version>10.1.0</version>
44+
<version>1.0.0-dev</version>
4545
<scope>compile</scope>
4646
</dependency>
4747
```
@@ -57,7 +57,7 @@ Add this dependency to your project's build file:
5757
}
5858
5959
dependencies {
60-
implementation "com.bandwidth.sdk:bandwidth-sdk:10.1.0"
60+
implementation "com.bandwidth.sdk:bandwidth-sdk:1.0.0-dev"
6161
}
6262
```
6363

@@ -71,7 +71,7 @@ mvn clean package
7171

7272
Then manually install the following JARs:
7373

74-
* `target/bandwidth-sdk-10.1.0.jar`
74+
* `target/bandwidth-sdk-1.0.0-dev.jar`
7575
* `target/lib/*.jar`
7676

7777
## Getting Started
@@ -85,7 +85,7 @@ import com.bandwidth.sdk.ApiClient;
8585
import com.bandwidth.sdk.ApiException;
8686
import com.bandwidth.sdk.Configuration;
8787
import com.bandwidth.sdk.auth.*;
88-
import com.bandwidth.sdk.models.*;
88+
import com.bandwidth.sdk.model.*;
8989
import com.bandwidth.sdk.api.CallsApi;
9090

9191
public class Example {

build.gradle

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: 'java'
44
apply plugin: 'com.diffplug.spotless'
55

66
group = 'com.bandwidth.sdk'
7-
version = '10.1.0'
7+
version = '1.0.0-dev'
88

99
buildscript {
1010
repositories {
@@ -112,14 +112,13 @@ dependencies {
112112
implementation 'com.squareup.okhttp3:logging-interceptor:4.12.0'
113113
implementation 'com.google.code.gson:gson:2.9.1'
114114
implementation 'io.gsonfire:gson-fire:1.9.0'
115-
implementation 'javax.ws.rs:jsr311-api:1.1.1'
116-
implementation 'javax.ws.rs:javax.ws.rs-api:2.1.1'
115+
implementation 'jakarta.ws.rs:jakarta.ws.rs-api:2.1.6'
117116
implementation 'org.openapitools:jackson-databind-nullable:0.2.6'
118-
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0'
117+
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.17.0'
119118
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
120-
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.2'
119+
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.3'
121120
testImplementation 'org.mockito:mockito-core:3.12.4'
122-
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.2'
121+
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.3'
123122
}
124123

125124
javadoc {

build.sbt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "com.bandwidth.sdk",
44
name := "bandwidth-sdk",
5-
version := "10.1.0",
5+
version := "1.0.0-dev",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),
@@ -13,15 +13,14 @@ lazy val root = (project in file(".")).
1313
"com.squareup.okhttp3" % "okhttp" % "4.12.0",
1414
"com.squareup.okhttp3" % "logging-interceptor" % "4.12.0",
1515
"com.google.code.gson" % "gson" % "2.9.1",
16-
"org.apache.commons" % "commons-lang3" % "3.12.0",
17-
"javax.ws.rs" % "jsr311-api" % "1.1.1",
18-
"javax.ws.rs" % "javax.ws.rs-api" % "2.1.1",
16+
"org.apache.commons" % "commons-lang3" % "3.17.0",
17+
"jakarta.ws.rs" % "jakarta.ws.rs-api" % "2.1.6",
1918
"org.openapitools" % "jackson-databind-nullable" % "0.2.6",
2019
"io.gsonfire" % "gson-fire" % "1.9.0" % "compile",
2120
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
2221
"com.google.code.findbugs" % "jsr305" % "3.0.2" % "compile",
2322
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
24-
"org.junit.jupiter" % "junit-jupiter-api" % "5.10.2" % "test",
23+
"org.junit.jupiter" % "junit-jupiter-api" % "5.10.3" % "test",
2524
"com.novocode" % "junit-interface" % "0.10" % "test",
2625
"org.mockito" % "mockito-core" % "3.12.4" % "test"
2726
)

openapi-config.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
artifactId: bandwidth-sdk
2-
artifactVersion: 10.1.0
2+
artifactVersion: 1.0.0-dev
33
artifactDescription: The official client SDK for Bandwidth's Voice, Messaging, MFA, and WebRTC APIs
44
artifactUrl: https://github.com/Bandwidth/java-sdk
5-
developerEmail: [email protected]
6-
developerOrganization: Bandwidth
5+
developerName: Bandwidth Support
6+
developerEmail: [email protected]
7+
developerOrganization: Bandwidth Inc
8+
developerOrganizationUrl: http://bandwidth.com
79
disallowAdditionalPropertiesIfNotPresent: false
810
hideGenerationTimestamp: true
911
groupId: com.bandwidth.sdk
@@ -13,3 +15,4 @@ modelPackage: com.bandwidth.sdk.model
1315
library: okhttp-gson
1416
licenseName: MIT
1517
useEnumCaseInsensitive: true
18+
templateDir: custom_templates

openapitools.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json",
33
"spaces": 2,
44
"generator-cli": {
5-
"version": "7.6.0"
5+
"version": "7.10.0"
66
}
77
}

0 commit comments

Comments
 (0)