From 1fb926a4f3b9585536b813806981294a4bb412e2 Mon Sep 17 00:00:00 2001
From: "coderabbitai[bot]"
<136622811+coderabbitai[bot]@users.noreply.github.com>
Date: Thu, 13 Nov 2025 20:25:36 +0000
Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Add=20docstrings=20to=20`v10.0.0?=
=?UTF-8?q?/launch`?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Docstrings generation was requested by @gimlichael.
* https://github.com/codebeltnet/asp-versioning/pull/18#issuecomment-3529561469
The following files were modified:
* `src/Codebelt.Extensions.Asp.Versioning/ServiceCollectionExtensions.cs`
---
.../ServiceCollectionExtensions.cs | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/Codebelt.Extensions.Asp.Versioning/ServiceCollectionExtensions.cs b/src/Codebelt.Extensions.Asp.Versioning/ServiceCollectionExtensions.cs
index a855e62..5a90d6d 100644
--- a/src/Codebelt.Extensions.Asp.Versioning/ServiceCollectionExtensions.cs
+++ b/src/Codebelt.Extensions.Asp.Versioning/ServiceCollectionExtensions.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using Asp.Versioning;
using Cuemon;
using Microsoft.Extensions.DependencyInjection;
@@ -17,7 +17,11 @@ public static class ServiceCollectionExtensions
/// The to extend.
/// The that may be configured.
/// A reference to so that additional calls can be chained.
- /// This is a convenient method to add API versioning to your ASP.NET Core WebApi. Call AddApiVersioning, AddMvc and AddApiExplorer. Configuration, which is optimized for RESTful APIs, are done through .
+ ///
+ /// Adds and configures RESTful API versioning, related MVC conventions, API Explorer grouping, and Problem Details handling to the service collection.
+ ///
+ /// Optional configurator for RestfulApiVersioningOptions that controls default API version, valid Accept headers, parameter name, conventions, API version selector type, and Problem Details behavior.
+ /// The original IServiceCollection instance for chaining.
public static IServiceCollection AddRestfulApiVersioning(this IServiceCollection services, Action setup = null)
{
Validator.ThrowIfNull(services);
@@ -61,4 +65,4 @@ public static IServiceCollection AddRestfulApiVersioning(this IServiceCollection
return services;
}
}
-}
+}
\ No newline at end of file