Hi - I have a domain document at
With a 'definitions:' section and a 'commonResponesStatusStructure' structure.
I'm trying to reference it in my OpenAPI 3.0 document like this:
description: Response from the web service.
I get "Could not resolve reference: Could not resolve pointer: /definitions/commonResponesStatusStructure does not exist in document"
What am I doing wrong? This works fine for me in a 2.0 api document but I'm not sure how to make it work in 3.0. I was told this should work. Feel like I'm just missing one thing. I've tried to google my way to a solution and I can't find one. Thanks - Tim
Here's a paste of the domain document (indenting was lost when pasted.)The domain document is valid.
description: Reusuable pieces for other Pennant Web Services.
title: Pennant Domain
# general return values, typcially included in responses
description: Return information regarding web service call. 0 = Success, <> 0= Specific error code.
description: Return message text.
description: Common response 'status' structure.
Solved! Go to Solution.
You can refer to a domain structure using the following syntax:
Please see this documentation for details: https://app.swaggerhub.com/help/domains/referencing-domain
so, in your case, you should use 'https://api.swaggerhub.com/domains/UPennISC/pennant_domain/1.0.0#/definitions/commonResponesStatusSt...'
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓