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

Can't resolve remote schemas correctly #323

Closed
ghost opened this issue Feb 7, 2019 · 4 comments
Closed

Can't resolve remote schemas correctly #323

ghost opened this issue Feb 7, 2019 · 4 comments

Comments

@ghost
Copy link

ghost commented Feb 7, 2019

I tried to run npx dtsgenerator --url https://storage.googleapis.com/cognitedata-api-docs/openapi.0.5.json and it failed with Error: The $ref targets root is not found: https://storage.googleapis.com/cognitedata-api-docs/api-acls-0.8.4s.json#/components/schemas/cogniteCapability.

I also ran Swagger-CLI: npx swagger-cli validate https://storage.googleapis.com/cognitedata-api-docs/openapi.0.5.json which stated that the spec is valid.

@horiuchi
Copy link
Owner

horiuchi commented Feb 8, 2019

probably, it's the same issue by #321

@ghost
Copy link
Author

ghost commented Feb 15, 2019

This is still a problem in 2.0.6

@adriengibrat
Copy link

@horiuchi you should close this issue, it seems to be fixed ;)

npx dtsgenerator --url https://storage.googleapis.com/cognitedata-api-docs/openapi.0.5.json

is now OK with v2.3.1

@horiuchi
Copy link
Owner

@adriengibrat Thank you for your confirmation! 👍

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

No branches or pull requests

2 participants