Understanding $ref - new user to Swagger Hub
New to Swagger so be gentle 🙂
I've imported two yaml API docs into SwaggerHub. They are both OpenAPI v3.0.1
The documents contain local $ref entries which seem to work correctly (.i.e. I can "Jump To" them in the UI)
One document also contain $ref entries that refer to the other document. These I simply cannot get to resolve in the UI.
Please can someone tell me what I'm doing wrong?
Domains are just APIs without paths. So if you export a domain to a flat file it can still be consumed in the $ref, but not as a URL as it is in SwaggerHub. e.g. the way you do now.
Also, if you export your API that has domain references in Resolved format (json or yaml) all remote references will be resolved into local anchors.