-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
value?.ref?.split is not a function when using the validate command #1187
Comments
Hi, We're encountering the same error with our schemas. What's particularly strange is that the issue appears inconsistently—some machines experience it while others do not, despite using the same Node, npm, and rdme versions. We were able to reproduce the same behavior with both your OpenAPI file and ours. To further investigate, we tested using the official Docker images, and the validation error persists across versions:
Additionally, we noticed this deprecation warning, which might be related:
For reference, here's one of our openapi.json. Let us know if you find any further insights! |
It seems that this will be fixed in the 10.2 version. docker run --rm node sh -c "npx rdme@10.2.0-next.5 openapi:validate https://api.dastra.eu/api/v1/dastra.json" returns
|
Hi folks! We've been overhauling our OpenAPI / JSON schema parsing and the changes landed in #1189. It looks like @m1k3lm confirmed that the issue is fixed in I'll close this out now but please reach out if you see any other issues. Thanks! |
Hi,
Since updating the CLI to v10, my OpenAPI specs fail to validate from this URL:
🔗 https://api.dastra.eu/api/v1/dastra.json
This worked fine in v9.0.5, and manually uploading the specs to the dashboard still works.
Steps to Reproduce

Installation method: npm i rdme -g
Specs validation : rdme openapi validate https://api.dastra.eu/api/v1/dastra.json
Screenshot of the issue:
It seems to be related to the ref parser lib
Environment
Node version : 22.11.0
Npm version : 10.9.0
The text was updated successfully, but these errors were encountered: