Results 370 comments of Jeremy Whitlock

Would you mind adding a test for this?

I think that `swagger-tools` is doing the right thing and that the linked issue is the real issue. It seems that once that's fixed, `swagger-tools` should benefit from the fix....

JSON Reference resolution is handled by json-refs and there is a known issue for supporting this: [whitlockjc/json-refs/issues/11](https://github.com/whitlockjc/json-refs/issues/11). I will keep this open in here until this issue is resolved in...

This _should_ be fixed but there is currently a bug in [json-refs/issues/24](https://github.com/whitlockjc/json-refs/issues/24) that you need to be careful of. No circular remote/relative references? Things will work like you want.

How are you loading swagger.yaml?

swagger-ui does not support relative references.

I'm going to reopen the issue until I have unit tests showing it works but swagger-ui is not related to swagger-tools.

The problem we have right now with supporting this is that swagger-tools does not know where the original document was loaded from so doing relative reference resolution isn't possible without...

Your `#Error` reference is wrong. It should be `#/definitions/Error`.

What's the error now? I doubt swagger-node supports relative references just yet since it uses swagger-tools which is known not to support relative references except under certain conditions.