Not able to reference a domain
- 6 years ago
Sometime, one character breaks everything. Took me a long time to figure it out as well.
When referencing domains, make sure the beginning of the referenced URL is api.swaggerhub.com and not app.swaggerhub.com.
So, in your case, the URL should be:
https://api.swaggerhub.com/domains/bosch/DX-UserModel/1#/definitions/User
The difference being giving the URL of the application, or giving the URL of the Domain itself. This is where our auto-complete feature comes in handy. It will automatically populate your reference options with relevant definitions, whether from the same file, or from Domains within your organization.
You can find all sorts of useful keyboard shortcuts (including the auto-complete) at https://app.swaggerhub.com/help/ui/editor.