public SwaggerUIIndexMiddleware(RequestDelegate next, SwaggerUIOptions options)
 {
     _next    = next;
     _options = options;
 }
Beispiel #2
0
 public SwaggerUIIndexHtmlBuilder(SwaggerUIOptions options)
 {
     _options        = options ?? new SwaggerUIOptions();
     _jsonSerializer = CreateJsonSerializer();
 }