$ref (erencing) a valid OAS3 domain file not working
I have a Domain defined in OAS3 of 472 code lists containing 14,456 code values(enums).
I'm trying to reference this from my API spec which is validating correctly except for this one $ref defined in the following format as recommended at the following support page...
components: schemas: transactionTypeCode: $ref: 'https://api.swaggerhub.com/domains/OWNER/DOMAIN/VERSION#/components/TYPE/COMPONENT_NAME'
When I enter ...
into the browser it correctly jumps into the domain to the component defined .
I thought maybe the size of the domain may be an issue since swagger is slow at validating so I pulled out just one schema component into its own domain, referenced just that one and still have the same error when validating the referencing API.
Any help most appreciated!
Hi @chichepo ,
API defines a parameter of a type defined locally in API components/schema which in turn references an enumerated list in the codelists domain file.
@chichepo , you haven't missed anything. This is exactly as I've configured it in my cloud account and as with mine, when I click on the link to the API file you've published and expand the policy renewal quotation process operation it hangs and times out throws timeouts.
If it's working for you perfectly then perhaps there's an issue with my networks config? I'l see what SmartBear come back with.
Thanks for testing out in your account. Much appreciated!