Skip to content

Commit 4951241

Browse files
committed
[docs] update API docs
1 parent 41f2bee commit 4951241

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

pkg/swagger/docs/swagger.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1587,6 +1587,12 @@
15871587
"url"
15881588
],
15891589
"properties": {
1590+
"deviceId": {
1591+
"description": "The unique identifier of the device the webhook is associated with.",
1592+
"type": "string",
1593+
"maxLength": 21,
1594+
"example": "PyDmBQZZXYmyxMwED8Fzy"
1595+
},
15901596
"event": {
15911597
"description": "The type of event the webhook is triggered for.",
15921598
"allOf": [

pkg/swagger/docs/swagger.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,12 @@ definitions:
472472
type: object
473473
smsgateway.Webhook:
474474
properties:
475+
deviceId:
476+
description: The unique identifier of the device the webhook is associated
477+
with.
478+
example: PyDmBQZZXYmyxMwED8Fzy
479+
maxLength: 21
480+
type: string
475481
event:
476482
allOf:
477483
- $ref: '#/definitions/smsgateway.WebhookEvent'

0 commit comments

Comments
 (0)