Skip to content

Commit 322c531

Browse files
Generate SDK with OpenAPI Generator Version (#76)
Co-authored-by: DX-Bandwidth <[email protected]>
1 parent 659010f commit 322c531

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

bandwidth.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5424,7 +5424,7 @@ components:
54245424
be interpreted as an HTTP status code in regards to the error that
54255425
was encountered.
54265426
example: '400'
5427-
errorDescription:
5427+
errorMessage:
54285428
type: string
54295429
description: A description of the error that was encountered.
54305430
example: cannot process request.

docs/FailureWebhook.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
**accountId** | **string** | User\&#39;s account ID. | [optional] [default to undefined]
99
**phoneNumber** | **string** | Toll-free telephone number in E.164 format. | [optional] [default to undefined]
1010
**errorCode** | **string** | An error code indicating what error was encountered. This code can be interpreted as an HTTP status code in regards to the error that was encountered. | [optional] [default to undefined]
11-
**errorDescription** | **string** | A description of the error that was encountered. | [optional] [default to undefined]
11+
**errorMessage** | **string** | A description of the error that was encountered. | [optional] [default to undefined]
1212
**errors** | **Array&lt;string&gt;** | Details of the errors that were encountered when processing the request. | [optional] [default to undefined]
1313
**internalTicketNumber** | **string** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number. | [optional] [default to undefined]
1414

@@ -21,7 +21,7 @@ const instance: FailureWebhook = {
2121
accountId,
2222
phoneNumber,
2323
errorCode,
24-
errorDescription,
24+
errorMessage,
2525
errors,
2626
internalTicketNumber,
2727
};

models/failure-webhook.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export interface FailureWebhook {
4343
* @type {string}
4444
* @memberof FailureWebhook
4545
*/
46-
'errorDescription'?: string;
46+
'errorMessage'?: string;
4747
/**
4848
* Details of the errors that were encountered when processing the request.
4949
* @type {Array<string>}

0 commit comments

Comments
 (0)