Skip to content

Relative references from a URL to a file in the parent folder throw error (OAS2) #713

@ymohdriz

Description

@ymohdriz

Hi team,

I have a file hosted in server say http://mcmriz01:5555/WmAPIGateway/validpath/service/serviceA.yaml in which refA.yaml (http://mcmriz01:5555/WmAPIGateway/validpath/refA.yaml) is referred
paths:
/test:
get:
responses:
'200':
schema:
$ref: '../refA.yaml'

Error: Unable to load RELATIVE ref: ../refA.yaml
Note: This is not working when the input is url, works fine for a input file

Thanks,
Mohammed

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions