Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ParseException when using remote ref #124

Open
Hienphamthe opened this issue Feb 27, 2019 · 0 comments
Open

ParseException when using remote ref #124

Hienphamthe opened this issue Feb 27, 2019 · 0 comments

Comments

@Hienphamthe
Copy link

My yml hierarchy is below. In paths, I ref schema of responses to component defined in openapi_components.yml
$ref: "openapi_components.yml#/schemas/xxxxxx"
And this is where yaml.js returns error.
throw new ParseException('Unable to parse.', this.getRealCurrentLineNb() + 1, this.currentLine);
Anyone has any idea how to fix? Thanks.

openapi.yml 
openapi_paths.yml
openapi_components.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant