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
swagger editor #7346
Comments
From another site I am making a request via curl. And I get the server responses that should be. |
What's the full error message on the Console tab in the browser dev tools? |
Network errors can not be read by Javascript this is a Browser security feature. See Originally posted by @mathis-m in #6938 (comment) Second thing is that CORS is something that the client decides to enforce or not, browsers do other tools like postman or curl don't. |
Hi @AlexJMcloud, In order to help you, we'd need more information.
|
Thanks. But I already solved this issue back in July.
… Hi @AlexJMcloud,
In order to help you, we'd need more information.
When you mentioned Editor did you mean https://editor.swagger.io/?Are you using swagger-editor npm package and integrating in your application?What is the OAS definition source (if you can disclose it)?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOSor Android.
[ { ***@***.***": "http://schema.org", ***@***.***": "EmailMessage", "potentialAction": { ***@***.***": "ViewAction", "target": "#7346 (comment)", "url": "#7346 (comment)", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { ***@***.***": "Organization", "name": "GitHub", "url": "https://github.com" } } ]
|
How did you solve the issue ? |
@AlexJMcloud how to fix that? |
hi how to fix that? |
I am currently facing similar issue, How can I resolve it. |
hi. |
Failed to fetch.
Possible Reasons:
CORS
Network Failure
URL scheme must be "http" or "https" for CORS request.
Until now, your editor cannot correctly identify the error codes.
The headers are all spelled out.
Access-Control-Allow-Headers: *
Access-Control-Allow-Origin: *
swagger.yaml:
schemes:
basePath: /api
The text was updated successfully, but these errors were encountered: