Skip to content

Commit

Permalink
chore(docs): add op-id (#5313)
Browse files Browse the repository at this point in the history
add op-id

This PR adds an operation id to the webhook example
  • Loading branch information
chdeskur authored Dec 2, 2024
1 parent 69bdf9b commit 778b446
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fern/pages/api-definition/openapi/webhooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ paths:
/payment/updated/:
post:
summary: Payment Initiated
operationId: initiatePayment
x-fern-webhook: true
requestBody:
content:
Expand All @@ -30,4 +31,4 @@ paths:
<Info>
The path that you choose when defining a webhook can be arbitrary. Since webhooks
can be sent to any server, Fern just ignores the path.
</Info>
</Info>

0 comments on commit 778b446

Please sign in to comment.