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

Reference Resolution error #317

Open
s-pic opened this issue Feb 26, 2021 · 0 comments
Open

Reference Resolution error #317

s-pic opened this issue Feb 26, 2021 · 0 comments
Assignees

Comments

@s-pic
Copy link

s-pic commented Feb 26, 2021

Hi there!

I love the idea of a validation proxy and tried it with an OpenAPI 3 spec used by our team.

I am getting the following error and hope you have an idea how to tackle this.

$ npx openapi-cop -s path-to-openapi.yaml -h 8888 -t https://localhost:8083
Validating against openapi.yaml ("API Specification", version: 0.1.0)
RangeError: Maximum call stack size exceeded
    at /Volumes/some/repo/node_modules/swagger-client/dist/index.js:1:21167
    at tryCatch (/Volumes/some/repo/node_modules/babel-runtime/node_modules/regenerator-runtime/runtime.js:62:40)

And then further down..

Failed to run openapi-cop Reference resolution error: Error: Could not resolve references in OpenAPI document due to the following errors:
    [
  {},
  {}
]
✨  Done in 5.05s.
@LexLuengas LexLuengas self-assigned this Sep 9, 2022
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

2 participants