What is the issue and why is it an issue?
In the File Distribution section, the specification allow to return 404 for OPTIONAL files. Even if they are declared in the gbfs.json file (?).
This was reasonable when the gbfs.json file was itself optional.
Now that this file is mandatory, there is no reason to allow that behaviour: if a file doesn't exist, it shouldn't be declared. If a file exist, then it should be declared.
Please describe some potential solutions you have considered (even if they aren’t related to GBFS).
Clarify that, for OPTIONAL files:
- If they exists, they MUST be declared in the
gbfs.json file and MUST NOT 404
- If they don't exists, they MUST NOT be declared in the
gbfs.json file (no need to say they 404, as non URL is declared to fetch them, and consumers shoudn't guess them)
Is your potential solution a breaking change?
Yes but only for provider declaring inexisting files in gbfs.json
What is the issue and why is it an issue?
In the File Distribution section, the specification allow to return 404 for OPTIONAL files. Even if they are declared in the
gbfs.jsonfile (?).This was reasonable when the
gbfs.jsonfile was itself optional.Now that this file is mandatory, there is no reason to allow that behaviour: if a file doesn't exist, it shouldn't be declared. If a file exist, then it should be declared.
Please describe some potential solutions you have considered (even if they aren’t related to GBFS).
Clarify that, for OPTIONAL files:
gbfs.jsonfile and MUST NOT 404gbfs.jsonfile (no need to say they 404, as non URL is declared to fetch them, and consumers shoudn't guess them)Is your potential solution a breaking change?
Yes but only for provider declaring inexisting files in
gbfs.json