Skip to content

Commit f6f2773

Browse files
SWI-4009 Update SDK Based on Recent Spec Changes (#109)
* Generate SDK with OpenAPI Generator Version 7.0.0 * hide generation timestamp --------- Co-authored-by: Cameron Koegel <[email protected]>
1 parent 3f2d138 commit f6f2773

File tree

86 files changed

+100
-88
lines changed

Some content is hidden

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

86 files changed

+100
-88
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Bandwidth
44
- API version: 1.0.0
5-
- Build date: 2023-10-03T14:41:14.487203Z[Etc/UTC]
5+
- Build date: 2023-11-28T14:02:05.350608Z[Etc/UTC]
66

77
Bandwidth's Communication APIs
88

api/openapi.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5947,8 +5947,13 @@ components:
59475947
type: array
59485948
uniqueItems: true
59495949
from:
5950-
description: One of your telephone numbers the message should come from
5951-
in E164 format.
5950+
description: "Either an alphanumeric sender ID or the sender's Bandwidth\
5951+
\ phone number in E.164 format, which must be hosted within Bandwidth\
5952+
\ and linked to the account that is generating the message. \nAlphanumeric\
5953+
\ Sender IDs can contain up to 11 characters, upper-case letters A-Z,\
5954+
\ lower-case letters a-z, numbers 0-9, space, hyphen -, plus +, underscore\
5955+
\ _ and ampersand &. Alphanumeric Sender IDs must contain at least one\
5956+
\ letter."
59525957
example: +15551113333
59535958
type: string
59545959
text:

bandwidth.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1547,8 +1547,14 @@ components:
15471547
from:
15481548
type: string
15491549
description: >-
1550-
One of your telephone numbers the message should come from in E164
1551-
format.
1550+
Either an alphanumeric sender ID or the sender's Bandwidth phone
1551+
number in E.164 format, which must be hosted within Bandwidth and
1552+
linked to the account that is generating the message.
1553+
1554+
Alphanumeric Sender IDs can contain up to 11 characters, upper-case
1555+
letters A-Z, lower-case letters a-z, numbers 0-9, space, hyphen -,
1556+
plus +, underscore _ and ampersand &. Alphanumeric Sender IDs must
1557+
contain at least one letter.
15521558
example: '+15551113333'
15531559
text:
15541560
type: string

docs/MessageRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
|------------ | ------------- | ------------- | -------------|
1010
|**applicationId** | **String** | The ID of the Application your from number is associated with in the Bandwidth Phone Number Dashboard. | |
1111
|**to** | **Set&lt;String&gt;** | The phone number(s) the message should be sent to in E164 format. | |
12-
|**from** | **String** | One of your telephone numbers the message should come from in E164 format. | |
12+
|**from** | **String** | Either an alphanumeric sender ID or the sender&#39;s Bandwidth phone number in E.164 format, which must be hosted within Bandwidth and linked to the account that is generating the message. Alphanumeric Sender IDs can contain up to 11 characters, upper-case letters A-Z, lower-case letters a-z, numbers 0-9, space, hyphen -, plus +, underscore _ and ampersand &amp;. Alphanumeric Sender IDs must contain at least one letter. | |
1313
|**text** | **String** | The contents of the text message. Must be 2048 characters or less. | [optional] |
1414
|**media** | **List&lt;URI&gt;** | A list of URLs to include as media attachments as part of the message. Each URL can be at most 4096 characters. | [optional] |
1515
|**tag** | **String** | A custom string that will be included in callback events of the message. Max 1024 characters. | [optional] |

openapi-config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ artifactUrl: https://github.com/Bandwidth/java-sdk
55
developerEmail: [email protected]
66
developerOrganization: Bandwidth
77
disallowAdditionalPropertiesIfNotPresent: false
8+
hideGenerationTimestamp: true
89
groupId: com.bandwidth.sdk
910
invokerPackage: com.bandwidth.sdk
1011
apiPackage: com.bandwidth.sdk.api

src/main/java/com/bandwidth/sdk/ApiException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* <p>ApiException class.</p>
2222
*/
2323
@SuppressWarnings("serial")
24-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-10-03T14:41:14.487203Z[Etc/UTC]")
24+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-11-28T14:02:05.350608Z[Etc/UTC]")
2525
public class ApiException extends Exception {
2626
private int code = 0;
2727
private Map<String, List<String>> responseHeaders = null;

src/main/java/com/bandwidth/sdk/Configuration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
package com.bandwidth.sdk;
1515

16-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-10-03T14:41:14.487203Z[Etc/UTC]")
16+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-11-28T14:02:05.350608Z[Etc/UTC]")
1717
public class Configuration {
1818
public static final String VERSION = "9.0.0";
1919

src/main/java/com/bandwidth/sdk/Pair.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
package com.bandwidth.sdk;
1515

16-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-10-03T14:41:14.487203Z[Etc/UTC]")
16+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-11-28T14:02:05.350608Z[Etc/UTC]")
1717
public class Pair {
1818
private String name = "";
1919
private String value = "";

src/main/java/com/bandwidth/sdk/StringUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import java.util.Collection;
1717
import java.util.Iterator;
1818

19-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-10-03T14:41:14.487203Z[Etc/UTC]")
19+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-11-28T14:02:05.350608Z[Etc/UTC]")
2020
public class StringUtil {
2121
/**
2222
* Check if the given array contains the given value (with case-insensitive comparison).

src/main/java/com/bandwidth/sdk/auth/ApiKeyAuth.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import java.util.Map;
2121
import java.util.List;
2222

23-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-10-03T14:41:14.487203Z[Etc/UTC]")
23+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-11-28T14:02:05.350608Z[Etc/UTC]")
2424
public class ApiKeyAuth implements Authentication {
2525
private final String location;
2626
private final String paramName;

0 commit comments

Comments
 (0)