2 Commits

Author SHA1 Message Date
e6f9610a51 Add 'NETWORK_DISCONNECTED' to error code enum
All checks were successful
Generate and Release Protos / release (push) Successful in 42s
2026-05-15 20:25:19 +01:00
e7e2093054 Add 'm' key for 'mode' to be set only when the service is a Ship or Bus.
All checks were successful
Generate and Release Protos / release (push) Successful in 39s
2026-05-10 19:29:14 +01:00
2 changed files with 8 additions and 1 deletions

View File

@@ -30,7 +30,8 @@
"AUTH", "AUTH",
"NOT_FOUND", "NOT_FOUND",
"RATE_LIMIT", "RATE_LIMIT",
"SERVER" "SERVER",
"NETWORK_DISCONNECTED"
] ]
}, },
"msg": { "msg": {

View File

@@ -63,6 +63,12 @@
"title": "RID", "title": "RID",
"description": "Services RID" "description": "Services RID"
}, },
"m": {
"type": "string",
"title": "mode",
"description": "Transport mode, default value: Train",
"enum": ["SHIP", "BUS"]
},
"o": { "o": {
"type": "string", "type": "string",
"title": "TOC", "title": "TOC",