Open jabelone opened 9 months ago
The problem is in the v2 API endpoint itself. I'll investigate.
Validation is delegated to https://github.com/spaceapi-community/go-spaceapi-validator, which simply returns the error EOF. The problem should get fixed in https://github.com/spaceapi-community/go-spaceapi-validator/pull/2
Additionally, the UI should properly handle API responses. Right now, nothing happens. However, I can't seem to find the source code of the validator UI, it's not part of this repository 😂 @gidsi could you help out?
Validator web UI is here: https://github.com/spaceapi-community/validator-web
ah i see, thanks!:)
Heya, after testing a potential fix related to this issue, I noticed that the validator showed no feedback in the UI when it failed to pass the data from that endpoint. This is confusing and makes me think that the validator is "broken" when really it just needs to throw up an error saying the endpoint couldn't be parsed because it's response doesn't follow the specification.
The endpoint in question will shortly be fixed, so I've included the problematic JSON response that triggers this behaviour below for testing purposes. Changing the
api_compatibility
version from "0.14" to "14" causes it to parse correctly and show a different, unrelated error in the validator UI.