public HostMiddleWare(RequestDelegate next, SwaggerOptions options) { this.next = next; this.options = options; }
public static IApplicationBuilder UseMagicOnionSwagger(this IApplicationBuilder app, SwaggerOptions options) { return(app.UseMiddleware <HostMiddleWare>(options)); }