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

x-scope annotations on server side shouldn't be sent to the client #78

Closed
analogue opened this issue Mar 7, 2016 · 1 comment
Closed

Comments

@analogue
Copy link
Contributor

analogue commented Mar 7, 2016

See internal ticket GSI-252 for the details.

Basically, x-scope annotations that reference file:// type urls are being sent to the client which then tries to use the file:// type urls to resolve $refs. The x-scope annotation should not be part of the swagger.json sent to the client.

The error surfaces on the client side in an exception that closely resembles:

RefResolutionError: <urlopen error [Errno 2] No such file or directory: '/code/api_docs/swagger.json'>

@analogue
Copy link
Contributor Author

Fixed in 4.2.0

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

1 participant