Skip to content

Commit 2ccd3c6

Browse files
committed
refactor: make channelId optional in Channel model
1 parent da4ab7e commit 2ccd3c6

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

openapi/openapi.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2629,8 +2629,7 @@
26292629
"Channel": {
26302630
"type": "object",
26312631
"required": [
2632-
"channelName",
2633-
"channelId"
2632+
"channelName"
26342633
],
26352634
"properties": {
26362635
"channelName": {

openapi/openapi.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1641,7 +1641,6 @@ components:
16411641
type: object
16421642
required:
16431643
- channelName
1644-
- channelId
16451644
properties:
16461645
channelName:
16471646
type: string

typespec/main.tsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ model Channel {
713713
channelName: string;
714714

715715
@doc("Unique numeric identifier of the channel")
716-
channelId: int64;
716+
channelId?: int64;
717717
}
718718

719719
model AddBots {

0 commit comments

Comments
 (0)