Skip to content

Commit 4b0d901

Browse files
committed
Schema updates
1 parent 4a57956 commit 4b0d901

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

backend/embed/api_docs/components/CertificateObject.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,16 @@
3232
"description": "Updated Unix time with milliseconds"
3333
},
3434
"expires_on": {
35-
"type": "integer",
36-
"minimum": 1,
37-
"nullable": true
35+
"oneOf": [
36+
{
37+
"type": "null"
38+
},
39+
{
40+
"type": "integer",
41+
"minimum": 1,
42+
"nullable": true
43+
}
44+
]
3845
},
3946
"type": {
4047
"type": "string",

backend/embed/api_docs/components/HostObject.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"id",
77
"created_at",
88
"updated_at",
9-
"expires_on",
109
"user_id",
1110
"provider",
1211
"name",
@@ -27,10 +26,6 @@
2726
"minimum": 1,
2827
"description": "Updated Unix time with milliseconds"
2928
},
30-
"expires_on": {
31-
"type": "integer",
32-
"minimum": 1
33-
},
3429
"user_id": {
3530
"type": "integer",
3631
"minimum": 1

0 commit comments

Comments
 (0)