Пример #1
0
 public static void ConfigureUI(SwaggerUIOptions options, IConfiguration config)
 {
     options.SwaggerEndpoint("/swagger/v1/swagger.json", "V1 Api");
     options.RoutePrefix = "";
     options.SupportedSubmitMethods(new SubmitMethod[0]);
     options.InjectStylesheet("/swagger-custom-styles.css");
 }