How do we access the swagger UI? #378
Closed
MartinDawson
started this conversation in
General
Replies: 4 comments
-
Any ideas on this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Figured it out. Must put That then runs through this code: if (app.Environment.IsDevelopment())
{
app.UseSwagger();
app.UseSwaggerUI();
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
In WebAPI container, you can access Swagger document with following URL: http:///api/v1/swagger.yaml |
Beta Was this translation helpful? Give feedback.
0 replies
-
FYI: I've sent PR for WebAPI demonstration on Podman with Swagger UI: #340 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a swagger yaml here: https://carbon-aware-dev.azurewebsites.net/swagger/index.html
How do we host the swagger UI? I was under the assumption that it would be automatic after v1.1.0 release?
I.e like you have here: https://carbon-aware-api.azurewebsites.net/swagger/index.html
I have copied the same DockerFile as you guys have:
Thanks
Beta Was this translation helpful? Give feedback.
All reactions