-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
CORS Error #856
Comments
Try calling the json url directly, then you will see the actual error. Its most probably not a cors problem... |
Ok, that was it. However, there's something weird about the current ASP.NET Core template. Swagger doesn't really like any of the OOTB controllers. I'll keep after it, but this takes care of my immediate issue. Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just created a new ASP.NET Core 2.0 web application, and installed NSwag.AspNetCore.
I added
services.AddCors()
as well asHowever, Swagger UI is returning the following error:
I enabled CORS, but I'm still getting the same error.
The text was updated successfully, but these errors were encountered: