Esempio n. 1
0
        public HostMiddleWare(RequestDelegate next, SwaggerOptions options)
        {
            this.next = next;

            this.options = options;
        }
Esempio n. 2
0
 public static IApplicationBuilder UseMagicOnionSwagger(this IApplicationBuilder app, SwaggerOptions options)
 {
     return(app.UseMiddleware <HostMiddleWare>(options));
 }