mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-09 04:20:17 +00:00
If a remote reference is used that does not contain a component ID (http://something.com/somefile.json#/components/something). The index would throw an error. This is not the correct behavior as the raw file can be the root, thus no componentID is required. The bulk of the code is expecting that componentID, so this fix will prepare any component-less remote reference, to be treated properly. Signed-off-by: Dave Shanley <dave@quobix.com>