Skip to content
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

Nested $ref not supported #1943

Closed
RitwikChatterjee opened this issue Feb 3, 2016 · 2 comments
Closed

Nested $ref not supported #1943

RitwikChatterjee opened this issue Feb 3, 2016 · 2 comments
Milestone

Comments

@RitwikChatterjee
Copy link

Hi,

Swagger UI is not able to support nested $ref. Here is the complete description of the issue.

http://stackoverflow.com/questions/35166265/swagger-nested-ref-not-working

Please fix.

Regards,
Ritwik

@RitwikChatterjee
Copy link
Author

Interesting observation:
The Swagger-UI actually skips a node that it cannot resolve (at the nested level).

So in my example referred above, when rendering the definition on the UI, Swagger-UI acts as if the
"error-block": {
"$ref": "error-block.schema"
}

does not exist at all! (the $ref above is a second level reference).

Not sure if this helps identifying the issue.

@RitwikChatterjee
Copy link
Author

This issue is closed in the latest Master. Therefore closing it.

@fehguy fehguy added this to the v2.2.1 milestone Aug 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants