You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to use $ref to point to an external schema json, the definition is only returned as just "string". It's not able to resolve the path to the json it seems. 'Could not resolve reference: Tried to resolve a relative URL, without having a basePath.'
We do have a bit of a hacky workaround which is to convert our schema.json into a @Swagger annotation format programatically but not ideal that we are converting for it to be used
Repository owner
locked and limited conversation to collaborators
Aug 23, 2023
Describe the bug
When trying to use $ref to point to an external schema json, the definition is only returned as just "string". It's not able to resolve the path to the json it seems. 'Could not resolve reference: Tried to resolve a relative URL, without having a basePath.'
External schema:
Any help appreciated
Reproduction
Complete
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: