Skip to content

Commit e5aae1f

Browse files
committed
Fix openapi schema format
1 parent 8959190 commit e5aae1f

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

backend/schema/components/check-version-object.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,14 @@
55
"required": ["current", "latest", "update_available"],
66
"properties": {
77
"current": {
8-
"type": "string",
8+
"type": ["string", "null"],
99
"description": "Current version string",
10-
"example": "v2.10.1",
11-
"nullable": true
10+
"example": "v2.10.1"
1211
},
1312
"latest": {
14-
"type": "string",
13+
"type": ["string", "null"],
1514
"description": "Latest version string",
16-
"example": "v2.13.4",
17-
"nullable": true
15+
"example": "v2.13.4"
1816
},
1917
"update_available": {
2018
"type": "boolean",

0 commit comments

Comments
 (0)