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

Enable SwaggerUI only in development environment #32325

Closed
tdykstra opened this issue Apr 15, 2024 · 2 comments
Closed

Enable SwaggerUI only in development environment #32325

tdykstra opened this issue Apr 15, 2024 · 2 comments
Assignees
Labels
doc-bug doc-enhancement seQUESTered Identifies that an issue has been imported into Quest.

Comments

@tdykstra
Copy link
Contributor

tdykstra commented Apr 15, 2024

In sample code, the app.UseSwaggerUI call should be inside the if (env.IsDevelopment) block.

See Internal notes


Associated WorkItem - 245602

@tdykstra tdykstra added doc-bug reQUEST Triggers an issue to be imported into Quest labels Apr 15, 2024
@tdykstra tdykstra self-assigned this Apr 15, 2024
@Rick-Anderson Rick-Anderson self-assigned this Apr 15, 2024
@sequestor sequestor bot added seQUESTered Identifies that an issue has been imported into Quest. and removed reQUEST Triggers an issue to be imported into Quest labels Apr 16, 2024
@Rick-Anderson
Copy link
Contributor

@Rick-Anderson Rick-Anderson moved this from 🔖 Ready to 🏗 In progress in dotnet/AspNetCore.Docs April 2024 sprint Apr 23, 2024
@Rick-Anderson
Copy link
Contributor

@tdykstra can we close this now?

@Rick-Anderson Rick-Anderson moved this from 🏗 In progress to 👀 In review in dotnet/AspNetCore.Docs April 2024 sprint Apr 24, 2024
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in dotnet/AspNetCore.Docs April 2024 sprint Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-bug doc-enhancement seQUESTered Identifies that an issue has been imported into Quest.
Projects
No open projects
Development

No branches or pull requests

3 participants