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

not a valid JSON Schema? #32

Open
gregoks opened this issue Jul 23, 2019 · 0 comments
Open

not a valid JSON Schema? #32

gregoks opened this issue Jul 23, 2019 · 0 comments

Comments

@gregoks
Copy link

gregoks commented Jul 23, 2019

Hello,

I have ran swagger-diff on my swagger which is valid and working but I get the following error without too much information:

swagger-diff{"name":"SyntaxError","message":""http://myservice.mycompany.com/swagger/docs/v1\" is not a valid JSON Schema","stack":"SyntaxError: "http://myservice.mycompany.com/swagger/docs/v1\" is not a valid JSON Schema\n at Function.ono [as syntax] (D:\Azure-Agents\Agent1\_work\_tasks\swagger-diff_d0b32dd5-f8bd-4118-8e66-699ad33189a2\1.2.1\node_modules\ono\lib\index.js:61:20)\n at D:\Azure-Agents\Agent1\_work\_tasks\swagger-diff_d0b32dd5-f8bd-4118-8e66-699ad33189a2\1.2.1\node_modules\json-schema-ref-parser\lib\index.js:106:19\n at process._tickCallback (internal/process/next_tick.js:109:7)"}

Can you point me where I can see the reason of the failure?

Thanks,

Greg

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