-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Error resolving $ref pointer, Redocly Standalone #1506
Comments
the definition of string is not defined in this file.
this section above is defining a pkg.templateArray as a definition. if you change it to
|
@th3g3ntl3men thanks for pointing out the error in the document. That said, my naive expectation for this library is, that it will not throw an error by prompting a stack trace to the user. Is there a chance, some can have a look? |
We may support it in one of the upcoming versions after we finish migrating to openapi-core: #1500 |
@nitram509 oh sorry i must of not understood. I do like your idea though. |
@RomanHotsiy Thank you for your engagement and work on this. |
@nitram509 fixed: #1500 |
Hi,
I'm Using Redocly v2.0.0-rc.48 standalone in a custom portal, which in general works like a charm,
BUT some of my API specs are not rendered :/
I understand, that in the spec the reference is missing, but in my ideal world, redocly is robust and renders what's possible.
Just for reference, I did try editor.swagger.io and it still renders something.
Observed error
Expected behavior
Redocly should be robust enough to skip missing references, print a warning, and renders what possible.
Alternatively, I might also find an optional error handler useful, which I could configure when I instantiate the standalone object. With this approach, I would be able to choose to fail fast and deny rendering or try the best approach to render it (robustness).
Problematic file
The text was updated successfully, but these errors were encountered: