I have an ASP.NET API implemented as OWIN middleware. I placed it on blue and now I have a problem using swagger. It works fine on localhost, but when I try it on azure, I get the following:

As I made my configuration for swagger in the API, it was to completely delete the SwaggerConfig.cs file and add all the settings to my Startup.cs class, as shown below: How to generate documentation using swashbuckle for WebApi 2 with Owin . If this helps, I am trying to implement oAuth2 between my API, authentication server, and client application.
Can you help me find out what is the reason for misuse of Azure features?
EDIT: I also tried the solution from here , but to no avail. I went to the API tab-> Properties-> Buld-> Changed to 'Release'-> In the output path, the same thing was added as in the "Debug" configuration and nothing.
My bin folder on Azure:

asp.net-web-api azure owin swagger swashbuckle
user2128702 Sep 09 '16 at 8:09 2016-09-09 08:09
source share