I'm working on a REST API with a Swagger UI. When it comes time to expose the API, should I expose the Swagger UI as well? If so, how would I package it into my application. Currently, I have the UI downloaded from the GitHub and am storing it in a folder alongside my project.
I'm using Go (with the Echo framework) to write the API.
if appEnv != "PRODUCTION" { e.GET("/swagger/*", echoSwagger.WrapHandler)}
– Percentage