© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•12mo ago•
18 replies
Ellopis

Configure Swagger UI through docker?

The curl Swagger is doing is:
curl -X 'GET' \
  'http://[::]:8080/WeatherForecast' \
  -H 'accept: text/plain'
curl -X 'GET' \
  'http://[::]:8080/WeatherForecast' \
  -H 'accept: text/plain'
Which is giving the fail:
Failed to fetch.
Possible Reasons:

CORS
Network Failure
URL scheme must be "http" or "https" for CORS request.

I'm using the default template + swaggerUI.

I tried ScalarUI with the same results
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ Swashbuckle to other swagger UI
C#CC# / help
15mo ago
Upload file with swagger ui crash
C#CC# / help
16mo ago
Swagger UI breaks due to API versioning.
C#CC# / help
7mo ago