Skip to content

Commit c7b94b1

Browse files
committed
Changed type dates and small adjustments.
1 parent 6303b18 commit c7b94b1

File tree

3 files changed

+12
-19
lines changed

3 files changed

+12
-19
lines changed

api/signalwire-rest/logs/_spec_.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@ components:
4040
properties:
4141
id:
4242
type: string
43-
name:
44-
type: string
4543
created_at:
4644
type: string
4745
format: date-time
48-
updated_at:
49-
type: string
50-
format: date-time

api/signalwire-rest/logs/conferences/models/core.tsp

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@
44

55
model Conference {
66
@doc("Unique identifier for the conference.")
7-
id: string;
87
@example("b9028451-b1d3-4690-b5d3-37b19d25f573")
8+
id: string;
99

1010
@doc("Creation timestamp.")
11-
created_at: string;
12-
13-
@doc("Last updated timestamp.")
14-
updated_at: string;
11+
@example(utcDateTime.fromISO("2025-03-11T01:49:49.630Z"))
12+
created_at: utcDateTime;
1513
}
1614

1715
model VideoRoomSessionConference extends Conference {
@@ -40,12 +38,12 @@ model VideoRoomSessionConference extends Conference {
4038
locked: boolean;
4139

4240
@doc("Started at date of the conference.")
43-
@example("2025-03-11T01:49:51.069Z")
44-
started_at: string;
41+
@example(utcDateTime.fromISO("2025-03-11T01:49:51.069Z"))
42+
started_at: utcDateTime;
4543

4644
@doc("Ended at date of the conference.")
47-
@example("2025-03-11T01:50:55.752Z")
48-
ended_at: string;
45+
@example(utcDateTime.fromISO("2025-03-11T01:50:55.752Z"))
46+
ended_at: utcDateTime;
4947

5048
@doc("Total charge amount of the conference.")
5149
@example("0.0")

api/signalwire-rest/logs/tsp-output/@typespec/openapi3/openapi.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,19 +60,17 @@ components:
6060
required:
6161
- id
6262
- created_at
63-
- updated_at
6463
- type
6564
properties:
6665
id:
6766
type: string
6867
description: Unique identifier for the conference.
68+
example: b9028451-b1d3-4690-b5d3-37b19d25f573
6969
created_at:
7070
type: string
71+
format: date-time
7172
description: Creation timestamp.
72-
example: b9028451-b1d3-4690-b5d3-37b19d25f573
73-
updated_at:
74-
type: string
75-
description: Last updated timestamp.
73+
example: '2025-03-11T01:49:49.630Z'
7674
type:
7775
type: string
7876
description: Discriminator property for Conference.
@@ -133,10 +131,12 @@ components:
133131
example: false
134132
started_at:
135133
type: string
134+
format: date-time
136135
description: Started at date of the conference.
137136
example: '2025-03-11T01:49:51.069Z'
138137
ended_at:
139138
type: string
139+
format: date-time
140140
description: Ended at date of the conference.
141141
example: '2025-03-11T01:50:55.752Z'
142142
charge:

0 commit comments

Comments
 (0)