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

Commit 05ec2d4

Browse files
committed
Add Code Snippets to Spec Files
1 parent aca0008 commit 05ec2d4

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

site/specs/active-call-info.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,13 @@ components:
296296
reference: >-
297297
/accounts/9903248/activeCalls/MTU2MDI4ODE1XzgzMzQ4OTg4QDE5Mi4xNjguMTMyLjQx
298298
example:
299-
$ref: '#/components/examples/apiErrorExample'
299+
- type: Not Found
300+
code: 12404
301+
description: Resource not found.
302+
source:
303+
method: GET
304+
reference: >-
305+
/accounts/9903248/activeCalls/MTU2MDI4ODE1XzgzMzQ4OTg4QDE5Mi4xNjguMTMyLjQx
300306
examples:
301307
unauthorizedErrorExample:
302308
summary: Unauthorized
@@ -378,16 +384,6 @@ components:
378384
- type: Internal Server Error
379385
code: 12500
380386
description: Encountered an unexpected error while processing your request.
381-
apiErrorExample:
382-
summary: An array of errors that occurred while processing the API request.
383-
value:
384-
- type: Not Found
385-
code: 12404
386-
description: Resource not found.
387-
source:
388-
method: GET
389-
reference: >-
390-
/accounts/9903248/activeCalls/MTU2MDI4ODE1XzgzMzQ4OTg4QDE5Mi4xNjguMTMyLjQx
391387
securitySchemes:
392388
Basic:
393389
type: http

0 commit comments

Comments
 (0)