Closed NadavK closed 5 years ago
It's a limitation of json-refs. Please follow https://github.com/whitlockjc/json-refs/issues/27
Can this be done now?
It looks like json-refs can do it: https://github.com/whitlockjc/json-refs/issues/125
Reviving this somewhat old thread. What would it take to update the lib to the latest json-refs version? I could create a pull request to just update the version but is that going to be accepted?
@ClaudioConsolmagno I'll happily a PR doing that!
@mohsen1 Took me a while but I finally created that PR (https://github.com/mohsen1/multi-file-swagger-example/pull/21). Didn't want to simply update the versions in case it broke other functionality so also added a lightweight regression test as well.
In your example, foo.yaml contains a reference to the user definition:
but this gets resolved to the actual object definition
instead of just including the ref as I would expect (is my expectation erroneous?)