Skip to content

Conversation

@testower
Copy link
Collaborator

@testower testower commented Oct 28, 2025

This PR does the following:

  • Similar to core validator, assume v1.0 in loader if version field is missing. The loader must determine the version in order to know how to parse the discovery file, so that it can fetch the remaining files.
  • If for some reason it's not possible to parse the information from discovery file, we will nevertheless return it so it can be properly validated.

closes #179

additionally, if the feeds can't be parsed from gbfs.json, return only gbfs.json file for validation

closes MobilityData#179
@CLAassistant
Copy link

CLAassistant commented Oct 28, 2025

CLA assistant check
All committers have signed the CLA.

@testower testower marked this pull request as ready for review October 28, 2025 21:25
Copy link

@Alessandro100 Alessandro100 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested and version 1.0 feeds are working ✅

Copy link
Member

@davidgamez davidgamez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGMT!

@testower testower merged commit d231a66 into MobilityData:master Oct 29, 2025
2 checks passed
@testower testower deleted the fix/validate-v1.0-feeds branch October 29, 2025 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Validate endpoint, GBFS version 1.0 feeds return status 500

4 participants