File tree Expand file tree Collapse file tree 3 files changed +12
-19
lines changed
tsp-output/@typespec/openapi3 Expand file tree Collapse file tree 3 files changed +12
-19
lines changed Original file line number Diff line number Diff line change @@ -40,11 +40,6 @@ components:
40
40
properties :
41
41
id :
42
42
type : string
43
- name :
44
- type : string
45
43
created_at :
46
44
type : string
47
45
format : date-time
48
- updated_at :
49
- type : string
50
- format : date-time
Original file line number Diff line number Diff line change 4
4
5
5
model Conference {
6
6
@ doc ("Unique identifier for the conference." )
7
- id : string ;
8
7
@ example ("b9028451-b1d3-4690-b5d3-37b19d25f573" )
8
+ id : string ;
9
9
10
10
@ 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 ;
15
13
}
16
14
17
15
model VideoRoomSessionConference extends Conference {
@@ -40,12 +38,12 @@ model VideoRoomSessionConference extends Conference {
40
38
locked : boolean ;
41
39
42
40
@ 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 ;
45
43
46
44
@ 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 ;
49
47
50
48
@ doc ("Total charge amount of the conference." )
51
49
@ example ("0.0" )
Original file line number Diff line number Diff line change @@ -60,19 +60,17 @@ components:
60
60
required :
61
61
- id
62
62
- created_at
63
- - updated_at
64
63
- type
65
64
properties :
66
65
id :
67
66
type : string
68
67
description : Unique identifier for the conference.
68
+ example : b9028451-b1d3-4690-b5d3-37b19d25f573
69
69
created_at :
70
70
type : string
71
+ format : date-time
71
72
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'
76
74
type :
77
75
type : string
78
76
description : Discriminator property for Conference.
@@ -133,10 +131,12 @@ components:
133
131
example : false
134
132
started_at :
135
133
type : string
134
+ format : date-time
136
135
description : Started at date of the conference.
137
136
example : ' 2025-03-11T01:49:51.069Z'
138
137
ended_at :
139
138
type : string
139
+ format : date-time
140
140
description : Ended at date of the conference.
141
141
example : ' 2025-03-11T01:50:55.752Z'
142
142
charge :
You can’t perform that action at this time.
0 commit comments