When referencing a domain, you would use the following to get the CommonSchema model from the CommonDomain domain
$ref: 'https://api.swaggerhub.com/domains/CompanyName/CommonDomain/1.0.0#/components/schemas/CommonSchema'
How can you make a reference to another existing api? This is being done from another API within Swaggerhub. When I attempt to do something like this to get the SomeSchema model
$ref: 'https://api.swaggerhub.com/apis/CompanyName/SomeApi/1.0.0#/components/schemas/SomeSchema'
I get an error saying that it Could not resolve reference: 404 Unknown Domain CompanyName/SomeApi:1.0.0
This would be legal for swagger codegen to generate from. Is this just a limitation of swaggerhub? If not, how does one go about doing this properly?