-
Notifications
You must be signed in to change notification settings - Fork 9.1k
$$ref appears in referenced JSON file for example #3638
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
Comments
Fixed. Thanks for the report, @donaldpipowitch! |
Thank you for the fix. |
I'm still seeing this in 3.4.3: You can see this by pasting
Or is it possibly fixed for operation examples, but not schema examples? |
According to the spec, Schema Object's |
I believe you, but can you explain what's going on in the first example of this section of the spec?
|
It looks like "Examples Object", plural, has been removed from the 3.0.1 spec, so maybe that section was in error. |
The |
$ npm i swagger-ui-dist
Demonstration API definition
Expected Behavior
Swagger UI renders my example as:
Current Behavior
Swagger UI renders my example as:
Note: If I use a
.yaml
instead like this:And write
$ref: "examples/root.yaml#/Example"
the example renders correctly.The text was updated successfully, but these errors were encountered: