scanon
6 years agoNew Contributor
Adding a reference to a schema stored on my file system
I'm trying to use the swagger 3.1 feature allowing to store the data schema in an external file. The file is stored on my local drive.
I got the following error message:
Resolver error at components.schemas.Person.$ref
Could not resolve reference: Tried to resolve a relative URL, without having a basePath. path: 'PersonProfile.json' basePath: 'undefined'
Thks,
Stephane