Fix openapi schema format

This commit is contained in:
Jamie Curnow
2025-11-13 11:51:13 +10:00
parent 8959190d32
commit e5aae1f365

View File

@@ -5,16 +5,14 @@
"required": ["current", "latest", "update_available"], "required": ["current", "latest", "update_available"],
"properties": { "properties": {
"current": { "current": {
"type": "string", "type": ["string", "null"],
"description": "Current version string", "description": "Current version string",
"example": "v2.10.1", "example": "v2.10.1"
"nullable": true
}, },
"latest": { "latest": {
"type": "string", "type": ["string", "null"],
"description": "Latest version string", "description": "Latest version string",
"example": "v2.13.4", "example": "v2.13.4"
"nullable": true
}, },
"update_available": { "update_available": {
"type": "boolean", "type": "boolean",