You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! Working with libopenapi locally recently I hit an issue when working with a remote specs (e.g. using https://raw.githubusercontent.com/org/repo/main/specs/openapi.yaml) if the specs contain local references. I first load the file using URL, then pass it to NewDocumentWithConfiguration with BaseURL configured to the URL of the file I used minus the filename itself:
Hi! Working with
libopenapi
locally recently I hit an issue when working with a remote specs (e.g. usinghttps://raw.githubusercontent.com/org/repo/main/specs/openapi.yaml
) if the specs contain local references. I first load the file using URL, then pass it toNewDocumentWithConfiguration
withBaseURL
configured to the URL of the file I used minus the filename itself:When calling:
though I get an error:
suggesting that it can't resolve locally referenced file in the remote specs.
I am not sure what exactly is going wrong, but I am happy to contribute if given a few pointers.
Happens at [my org] so I don't have sharable files for replicating this readily available but if necessary, I can try and craft some.
The text was updated successfully, but these errors were encountered: