As a developer I can easily turn on the swagger option on the app navbar for any deployment through defining an environment variable SHOW_SWAGGER_UI_LINK so that it is easy to access swagger when I need it, but I can easily turn it off when I don't. Allows developer to set a variable called SHOW_SWAGGER_UI_LINK to true or false in their config variables. Adding these couple of lines on the application files allows for the swagger option on the navbar. Now, based on the dokku config value being true or false, it will give a swagger option.
As a developer I can easily turn on the swagger option on the app navbar for any deployment through defining an environment variable SHOW_SWAGGER_UI_LINK so that it is easy to access swagger when I need it, but I can easily turn it off when I don't. Allows developer to set a variable called SHOW_SWAGGER_UI_LINK to true or false in their config variables. Adding these couple of lines on the application files allows for the swagger option on the navbar. Now, based on the dokku config value being true or false, it will give a swagger option.
This closes #6.
Above is when swagger is set to true on dokku.
Above is when swagger is set to false on dokku.