Esempio n. 1
0
        public static IUkiyoBuilder AddWebApiSwaggerDocs(this IUkiyoBuilder builder, string sectionName = SectionName)
        {
            if (string.IsNullOrWhiteSpace(sectionName))
            {
                sectionName = SectionName;
            }

            return(builder.AddWebApiSwaggerDocs(b => b.AddSwaggerDocs(sectionName)));
        }
Esempio n. 2
0
 public static IUkiyoBuilder AddWebApiSwaggerDocs(this IUkiyoBuilder builder, SwaggerOptions options)
 => builder.AddWebApiSwaggerDocs(b => b.AddSwaggerDocs(options));
Esempio n. 3
0
 public static IUkiyoBuilder AddWebApiSwaggerDocs(this IUkiyoBuilder builder,
                                                  Func <ISwaggerOptionsBuilder, ISwaggerOptionsBuilder> buildOptions)
 => builder.AddWebApiSwaggerDocs(b => b.AddSwaggerDocs(buildOptions));