-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
I have 3 test YAML files (really simple and tiny), containing cross-referenced schema definitions (all of them fully resolvable).
The YAML files can be found here:
test.yaml
a.yaml
b.yaml
To reproduce the bug, we can use the latest online Swagger Editor:
https://editor.swagger.io/?url=https://jdegre.github.io/test/test.yaml
The output is as follows in the screenshot:
The errors in the "console", at the bottom-left, seem to indicate a failed attempt to retrieve files "a.yaml" and "b.yaml". Also, please note the Resolver error on the top-right side (on the Swagger UI window).
HOWEVER, the resolution of the references is, in fact, successful, as we can see on the schemas of the POST method, again on the Swagger UI window.
So, the actual bug seems to be that there are certain transient errors that stay on the screen, while I guess they shouldn't, since the resolution eventually works fine.
(This is a re-post of an old bug I posted maybe 5-6 years ago, but I thought it could be useful to re-post the issue, given the brand new architecture of Swagger Editor, and given that the bug still exists)