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

Unable to validate my url #151

Open
JFCote opened this issue Sep 3, 2019 · 1 comment
Open

Unable to validate my url #151

JFCote opened this issue Sep 3, 2019 · 1 comment

Comments

@JFCote
Copy link

JFCote commented Sep 3, 2019

When I try my spec url: https://cs-dev.business.stingray.com/assets/swagger.yaml

I get this error:

Failed to load API definition.
Errors
Hide
 
Fetch errorFailed to fetch https://cs-dev.business.stingray.com/assets/swagger.yaml
Fetch errorPossible cross-origin (CORS) issue? The URL origin (https://cs-dev.business.stingray.com) does not match the page (http://validator.swagger.io). Check the server returns the correct 'Access-Control-Allow-*' headers.

Is there something wrong in the response header that I need to change? Is that a bug on your side? The documentation of validator-badge specifically specify this: Since the validator uses a browserless back-end to fetch the contents and schema, it's not subject to the terrible world of CORS.

@JFCote
Copy link
Author

JFCote commented Jul 8, 2021

@gracekarina is this project still alive?

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