From 05fc965b11c5b985dc768cbeddb82a1690fcdbba Mon Sep 17 00:00:00 2001 From: Volker Krause Date: Sun, 24 Jan 2021 11:45:57 +0100 Subject: [PATCH] Follow Hafas' naming for the API version key As per discussion in PR #7. --- data/de/db-hafas-mgate.json | 2 +- readme.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/de/db-hafas-mgate.json b/data/de/db-hafas-mgate.json index 0937e47..4a3d677 100644 --- a/data/de/db-hafas-mgate.json +++ b/data/de/db-hafas-mgate.json @@ -56,6 +56,6 @@ 88 ], "standardLocationIdentifierType": "ibnr", - "version": "1.18" + "ver": "1.18" } } diff --git a/readme.md b/readme.md index aef7f63..8771f86 100644 --- a/readme.md +++ b/readme.md @@ -159,7 +159,7 @@ this as well: }, "ext": "...", "micMacSalt": "", - "version": "1.27" + "ver": "1.27" } ``` @@ -169,7 +169,7 @@ The following properties are defined: * `client`: JSON object with static client information passed verbatim in Hafas requests. * `ext`: String with the extension version (?) included in Hafas request. * `micMacSalt`: A string containing a hexadecimal representation the salt to hash the hashed request body with. Mandatory for endpoints using this authentication mechanism. -* `version`: String containing the requested Hafas API version (?), mandatory for all known endpoints. +* `ver`: String containing the requested Hafas API version (?), mandatory for all known endpoints. ## Contributing