nickdunkin
4 years agoNew Contributor
Understanding $ref - new user to Swagger Hub
Hi, 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...
- 4 years ago
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.