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

Commit 7ac8b41

Browse files
committed
Add Code Snippets to Spec Files
1 parent 0b29333 commit 7ac8b41

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

site/specs/messaging.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ paths:
3737
$ref: '#/components/responses/messagingForbiddenError'
3838
'404':
3939
$ref: '#/components/responses/messagingNotFoundError'
40+
'406':
41+
$ref: '#/components/responses/messagingNotAcceptableError'
4042
'415':
4143
$ref: '#/components/responses/messagingInvalidMediaTypeError'
4244
'429':
@@ -224,6 +226,8 @@ paths:
224226
$ref: '#/components/responses/messagingForbiddenError'
225227
'404':
226228
$ref: '#/components/responses/messagingNotFoundError'
229+
'406':
230+
$ref: '#/components/responses/messagingNotAcceptableError'
227231
'415':
228232
$ref: '#/components/responses/messagingInvalidMediaTypeError'
229233
'429':
@@ -436,6 +440,8 @@ paths:
436440
$ref: '#/components/responses/messagingForbiddenError'
437441
'404':
438442
$ref: '#/components/responses/messagingNotFoundError'
443+
'406':
444+
$ref: '#/components/responses/messagingNotAcceptableError'
439445
'415':
440446
$ref: '#/components/responses/messagingInvalidMediaTypeError'
441447
'429':
@@ -691,6 +697,8 @@ paths:
691697
$ref: '#/components/responses/messagingForbiddenError'
692698
'404':
693699
$ref: '#/components/responses/messagingNotFoundError'
700+
'406':
701+
$ref: '#/components/responses/messagingNotAcceptableError'
694702
'415':
695703
$ref: '#/components/responses/messagingInvalidMediaTypeError'
696704
'429':
@@ -1091,6 +1099,8 @@ paths:
10911099
$ref: '#/components/responses/messagingForbiddenError'
10921100
'404':
10931101
$ref: '#/components/responses/messagingNotFoundError'
1102+
'406':
1103+
$ref: '#/components/responses/messagingNotAcceptableError'
10941104
'415':
10951105
$ref: '#/components/responses/messagingInvalidMediaTypeError'
10961106
'429':
@@ -2468,6 +2478,12 @@ components:
24682478
application/json:
24692479
schema:
24702480
$ref: '#/components/schemas/messagingRequestError'
2481+
messagingNotAcceptableError:
2482+
description: Not Acceptable
2483+
content:
2484+
application/json:
2485+
schema:
2486+
$ref: '#/components/schemas/messagingRequestError'
24712487
createMessageBadRequestError:
24722488
description: Bad Request
24732489
content:

0 commit comments

Comments
 (0)