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

Commit

Permalink
Add Code Snippets to Spec Files
Browse files Browse the repository at this point in the history
  • Loading branch information
DX-Bandwidth committed Oct 13, 2023
1 parent c54fd0b commit d838248
Showing 1 changed file with 58 additions and 4 deletions.
62 changes: 58 additions & 4 deletions site/specs/ai-bridge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ components:
$ref: '#/components/schemas/googleEsProviderResponse'
nullable: true
example:
$ref: '#/components/examples/googleEsProviderExample'
$ref: '#/components/examples/googleEsProviderResponseExample'
googleCxProviderResponseData:
title: Google-CX Provider Response Data
type: object
Expand Down Expand Up @@ -944,7 +944,7 @@ components:
googleProvider:
$ref: '#/components/schemas/googleEsProvider'
example:
$ref: '#/components/examples/googleEsProviderExample'
$ref: '#/components/examples/googleEsProviderExample2'
required:
- displayName
- type
Expand Down Expand Up @@ -1768,7 +1768,7 @@ components:
- $ref: '#/components/schemas/cognigyProviderRequestData'
examples:
googleESProviderExample:
$ref: '#/components/examples/googleEsProviderExample'
$ref: '#/components/examples/googleEsProviderExample3'
googleCXProviderExample:
$ref: '#/components/examples/googleCxProviderExample'
awsProviderExample:
Expand Down Expand Up @@ -1796,7 +1796,7 @@ components:
- $ref: '#/components/schemas/cognigyProviderRequestData'
examples:
googleEsProviderExample:
$ref: '#/components/examples/googleEsProviderExample'
$ref: '#/components/examples/googleEsProviderExample2'
googleCxProviderExample:
$ref: '#/components/examples/googleCxProviderExample'
awsProviderExample:
Expand Down Expand Up @@ -1961,6 +1961,60 @@ components:
googleCredentials:
privateKey: samplekey
clientEmail: email
googleEsProviderExample2:
summary: An example of a Google-ES provider
value:
displayName: Google Provider
type: GOOGLE_ES
description: Google provider description
role:
- bot
- stt
- tts
googleProvider:
region: northamerica
location: us-east-1
environment: Production
projectId: myproject
googleCredentials:
privateKey: samplekey
clientEmail: email
googleEsProviderExample3:
summary: An example of a Google-ES provider
value:
displayName: Google Provider
type: GOOGLE_ES
description: Google provider description
role:
- bot
- stt
- tts
googleProvider:
region: northamerica
location: us-east-1
environment: Production
projectId: myproject
googleCredentials:
privateKey: samplekey
clientEmail: email
googleEsProviderResponseExample:
summary: An example of a Google-ES provider
value:
displayName: Google Provider
type: GOOGLE_ES
description: Google provider description
role:
- bot
- stt
- tts
googleProvider:
region: northamerica
location: us-east-1
environment: Production
projectId: myproject
googleCredentials:
privateKey: samplekey
clientEmail: email
googleCxProviderExample:
summary: An example of a Google-CX provider
value:
Expand Down

0 comments on commit d838248

Please sign in to comment.