Skip to content

Commit 542fc44

Browse files
committed
Merge pull request OAI#1228 from RepreZen/callback-example-oas3
Fix callback-example.yaml
2 parents 0e51e2a + ccf0169 commit 542fc44

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

examples/v3.0/callback-example.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ...
12
paths:
23
/streams:
34
post:
@@ -32,7 +33,7 @@ paths:
3233
onData:
3334
# when data is sent, it will be sent to the `callbackUrl` provided
3435
# when making the subscription PLUS the suffix `/data`
35-
{$request.query.callbackUrl}/data:
36+
'{$request.query.callbackUrl}/data':
3637
post:
3738
requestBody:
3839
description: subscription payload
@@ -44,7 +45,7 @@ paths:
4445
type: string
4546
format: date-time
4647
userData:
47-
$ref: '#/components/schemas/UserLogData'
48+
type: string
4849
responses:
4950
'202':
5051
description: |

0 commit comments

Comments
 (0)