Skip to content

Commit 360134f

Browse files
committed
remove old file
1 parent 22c7ddf commit 360134f

File tree

3 files changed

+30
-98
lines changed

3 files changed

+30
-98
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,6 @@ Class | Method | HTTP request | Description
229229
- [DtmfCallback](docs/DtmfCallback.md)
230230
- [Error](docs/Error.md)
231231
- [ErrorObject](docs/ErrorObject.md)
232-
- [ErrorResponse](docs/ErrorResponse.md)
233232
- [ErrorSource](docs/ErrorSource.md)
234233
- [FailureWebhook](docs/FailureWebhook.md)
235234
- [FieldError](docs/FieldError.md)
@@ -249,6 +248,7 @@ Class | Method | HTTP request | Description
249248
- [LinksObject](docs/LinksObject.md)
250249
- [ListMessageDirectionEnum](docs/ListMessageDirectionEnum.md)
251250
- [ListMessageItem](docs/ListMessageItem.md)
251+
- [LookupErrorResponse](docs/LookupErrorResponse.md)
252252
- [LookupErrorSchema](docs/LookupErrorSchema.md)
253253
- [LookupErrorSchemaMeta](docs/LookupErrorSchemaMeta.md)
254254
- [LookupResult](docs/LookupResult.md)

bandwidth.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -5578,7 +5578,7 @@ components:
55785578
type: array
55795579
items:
55805580
$ref: '#/components/schemas/lookupErrorSchema'
5581-
errorResponse:
5581+
lookupErrorResponse:
55825582
type: object
55835583
properties:
55845584
links:
@@ -6950,20 +6950,20 @@ components:
69506950
content:
69516951
application/json:
69526952
schema:
6953-
$ref: '#/components/schemas/errorResponse'
6953+
$ref: '#/components/schemas/lookupErrorResponse'
69546954
examples:
69556955
badRequest:
6956-
$ref: '#/components/examples/badRequestPostExample'
6956+
$ref: '#/components/examples/badRequestExample'
69576957
unauthorized:
6958-
$ref: '#/components/examples/unauthorizedErrorExample'
6958+
$ref: '#/components/examples/unauthorizedExample'
69596959
forbidden:
6960-
$ref: '#/components/examples/forbiddenErrorExample'
6960+
$ref: '#/components/examples/forbiddenExample'
69616961
mediaType:
6962-
$ref: '#/components/examples/mediaTypeErrorExample'
6962+
$ref: '#/components/examples/unsupportedMediaTypeExample'
69636963
notFound:
6964-
$ref: '#/components/examples/notFoundErrorExample'
6964+
$ref: '#/components/examples/notFoundExample'
69656965
tooManyRequests:
6966-
$ref: '#/components/examples/tooManyRequestsErrorExample'
6966+
$ref: '#/components/examples/tooManyRequestsExample'
69676967
internalServer:
69686968
$ref: '#/components/examples/internalServerErrorExample'
69696969
getTollFreeVerificationStatusResponse:
@@ -7933,13 +7933,18 @@ components:
79337933
deactivationEvent: DEACTIVATED
79347934
latestMessageDeliveryStatus: UNKNOWN
79357935
errors: []
7936-
badRequestPostExample:
7936+
badRequestExample:
79377937
summary: Example Bad Request Error
79387938
value:
7939-
statusCode: 400
7940-
message: Account not authorized
7941-
unauthorizedErrorExample:
7942-
summary: Example Unauthorized Error
7939+
links: []
7940+
data: {}
7941+
errors:
7942+
- type: bad-request
7943+
description: >-
7944+
Bad Request. Ensure that you have set the requestId as a URL path
7945+
parameter.
7946+
unauthorizedExample:
7947+
summary: Unauthorized Error
79437948
value:
79447949
links: []
79457950
data: {}
@@ -7948,8 +7953,8 @@ components:
79487953
description: You are not authorized to access this resource.
79497954
code: '1'
79507955
page: null
7951-
forbiddenErrorExample:
7952-
summary: Example Forbidden Error
7956+
forbiddenExample:
7957+
summary: Forbidden Error
79537958
value:
79547959
links: []
79557960
data: {}
@@ -7958,8 +7963,8 @@ components:
79587963
description: You do not have permission to access this resource.
79597964
code: '2'
79607965
page: null
7961-
mediaTypeErrorExample:
7962-
summary: Example Unsupported Media Type Error
7966+
unsupportedMediaTypeExample:
7967+
summary: Unsupported Media Type Error
79637968
value:
79647969
links: []
79657970
data: {}
@@ -7968,8 +7973,8 @@ components:
79687973
description: >-
79697974
Invalid content-type. Ensure that your content-type header is set
79707975
to application/json.
7971-
notFoundErrorExample:
7972-
summary: Resource not found
7976+
notFoundExample:
7977+
summary: Not Found Error
79737978
value:
79747979
links: []
79757980
data: {}
@@ -7978,8 +7983,8 @@ components:
79787983
description: >-
79797984
RequestId not found. Ensure that the requestId used in the URL
79807985
path is valid and maps to a previous request that was submitted.
7981-
tooManyRequestsErrorExample:
7982-
summary: Example Too Many Requests Error
7986+
tooManyRequestsExample:
7987+
summary: Too Many Requests Error
79837988
value:
79847989
links: []
79857990
data: {}
@@ -7989,15 +7994,10 @@ components:
79897994
Rate limit exceeded. Wait for the time specified in the
79907995
Retry-After header before sending another request.
79917996
internalServerErrorExample:
7992-
summary: Example Internal Server Error Error
7997+
summary: Internal Server Error
79937998
value:
7994-
links:
7995-
- href: href
7996-
rel: rel
7997-
method: GET
7998-
data:
7999-
requestId: 004223a0-8b17-41b1-bf81-20732adf5590
8000-
results: []
7999+
links: []
8000+
data: {}
80018001
errors:
80028002
- code: '500'
80038003
type: unexpected-error

src/test/java/com/bandwidth/sdk/unit/models/ErrorResponseTest.java

Lines changed: 0 additions & 68 deletions
This file was deleted.

0 commit comments

Comments
 (0)