ASP.NET MVC Swashbuckle - Reusable XML Swagger comments?

This page summarizes the projects mentioned and recommended in the original post on /r/csharp

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • Swashbuckle.AspNetCore.Filters

    A bunch of useful filters for Swashbuckle.AspNetCore

  • // Enable the default method attributes c.EnableAnnotations(); // Add the SwaggerResponseHeader attribute (look at a controller call that returns pagination info) c.OperationFilter(); // The following three lines define trigger generation of security info within the swagger.json // https://github.com/mattfrear/Swashbuckle.AspNetCore.Filters#security-requirements-filter c.OperationFilter(); c.OperationFilter(); c.AddSecurityDefinition("oath2", new OpenApiSecurityScheme() { Description = "Standard authorization using bearer scheme. Ex: \"bearer {token}\"", In = ParameterLocation.Header, Name = "Authorization", Type = SecuritySchemeType.ApiKey }); // Main app definition c.SwaggerDoc("v1", new OpenApiInfo { Title = "The awesome API", Version = "v1", Description = "The Awesome API V1" }); // Look at XML comments and pull summaries and examples into the swagger.json // Note: the csproj file must be edited to generate teh xml documentation files var xmlFiles = Directory.GetFiles(AppContext.BaseDirectory,"*.xml",SearchOption.TopDirectoryOnly).ToList(); xmlFiles.ForEach(xmlFile => c.IncludeXmlComments(xmlFile));

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Dependencies: Open-source rewrite of Dependency Walker

    1 project | news.ycombinator.com | 13 May 2024
  • Did GitHub Copilot increase my productivity?

    2 projects | news.ycombinator.com | 12 May 2024
  • Open Source YouTube to MP3 Downloader

    9 projects | news.ycombinator.com | 12 May 2024
  • Redis license change, and Rails Solid Cache

    4 projects | dev.to | 13 May 2024
  • Please Check Out the CodeBehind Framework

    2 projects | dev.to | 12 May 2024