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

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