Base solution for your next web application
Open Closed

swagger ui in production #4252


User avatar
0
agmachado created

How can I disable the swagger ui in a production environment?

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

2 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team

    You can comment out these lines and these lines in Startup.cs.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    agmachado created

    your indications worked Thank you

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)