@@ -302,25 +302,6 @@ components:
302
302
$ref : ' #/components/schemas/nullableString'
303
303
webhookUrl :
304
304
$ref : ' #/components/schemas/webhookUrl'
305
- tfvPostResponseBody :
306
- type : object
307
- properties :
308
- accountId :
309
- type : string
310
- description : Bandwidth account ID
311
- example : ' 9900910'
312
- errors :
313
- type : object
314
- description : >-
315
- Listing of errors from your request, relevant for a partial success
316
- or complete failure
317
- example :
318
- type : bad request
319
- description : cannot process request
320
- errors :
321
- useCase :
322
- - useCase must not be blank
323
- - useCase cannot be more than 500 characters
324
305
tfvStatus :
325
306
type : object
326
307
properties :
@@ -371,6 +352,39 @@ components:
371
352
required :
372
353
- type
373
354
- description
355
+ badRequestError :
356
+ title : BadRequestError
357
+ type : object
358
+ properties :
359
+ type :
360
+ type : string
361
+ example : bad request
362
+ description :
363
+ type : string
364
+ example : cannot process request
365
+ errors :
366
+ type : object
367
+ description : >-
368
+ Each key of this errors object refers to a field of the submitted
369
+ object (using dot notation for nested objects), with the field being
370
+ a key to an array of one or more errors for that field.
371
+ example :
372
+ name :
373
+ - is required
374
+ email :
375
+ - is not a valid email address
376
+ - is longer than 100 characters
377
+ additionalProperties :
378
+ type : array
379
+ items :
380
+ type : string
381
+ example : is required
382
+ example :
383
+ - is not a valid email address
384
+ - is longer than 100 characters
385
+ required :
386
+ - type
387
+ - description
374
388
accountId :
375
389
type : integer
376
390
description : Your Bandwidth Account ID
@@ -428,10 +442,6 @@ components:
428
442
responses :
429
443
verifyPostResponse :
430
444
description : Accepted
431
- content :
432
- application/json :
433
- schema :
434
- $ref : ' #/components/schemas/tfvPostResponseBody'
435
445
verifyStatusResponse :
436
446
description : OK
437
447
content :
@@ -449,7 +459,7 @@ components:
449
459
content :
450
460
application/json :
451
461
schema :
452
- $ref : ' #/components/schemas/verificationRequestError '
462
+ $ref : ' #/components/schemas/badRequestError '
453
463
unauthorizedResponse :
454
464
description : Unauthorized
455
465
content :
0 commit comments