Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit ba7a39b

Browse files
authored
Auto-merge PR based on merge event
Auto-merging PR based on merge event from upstream repository
2 parents 8a4b137 + d318333 commit ba7a39b

File tree

1 file changed

+34
-24
lines changed

1 file changed

+34
-24
lines changed

site/specs/messaging-tfverify-athena.yml

Lines changed: 34 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -302,25 +302,6 @@ components:
302302
$ref: '#/components/schemas/nullableString'
303303
webhookUrl:
304304
$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
324305
tfvStatus:
325306
type: object
326307
properties:
@@ -371,6 +352,39 @@ components:
371352
required:
372353
- type
373354
- 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
374388
accountId:
375389
type: integer
376390
description: Your Bandwidth Account ID
@@ -428,10 +442,6 @@ components:
428442
responses:
429443
verifyPostResponse:
430444
description: Accepted
431-
content:
432-
application/json:
433-
schema:
434-
$ref: '#/components/schemas/tfvPostResponseBody'
435445
verifyStatusResponse:
436446
description: OK
437447
content:
@@ -449,7 +459,7 @@ components:
449459
content:
450460
application/json:
451461
schema:
452-
$ref: '#/components/schemas/verificationRequestError'
462+
$ref: '#/components/schemas/badRequestError'
453463
unauthorizedResponse:
454464
description: Unauthorized
455465
content:

0 commit comments

Comments
 (0)