Namespace Codebelt.Extensions.Asp.Versioning
The Codebelt.Extensions.Asp.Versioning
namespace contains types and extension methods that complements the Asp.Versioning
namespace by adding new ways of working with versioning for Open API 3+.
Availability: .NET 9 and .NET 8
Complements: Asp.Versioning together with Open API/Swagger for RESTful APIs. 🔗
Extension Methods
Type | Ext | Methods |
---|---|---|
IApplicationBuilder | ⬇️ | UseRestfulApiVersioning |
IServiceCollection | ⬇️ | AddRestfulApiVersioning |
Classes
- ApplicationBuilderExtensions
Extension methods for the Microsoft.AspNetCore.Builder.IApplicationBuilder interface.
- RestfulApiVersioningOptions
Provides programmatic configuration for the AddRestfulApiVersioning(IServiceCollection, Action<RestfulApiVersioningOptions>) method.
- RestfulApiVersionReader
Represents a RESTful API version reader that reads the value from a filtered list of Microsoft.Net.Http.Headers.HeaderNames.Accept headers in the request.
- ServiceCollectionExtensions
Extension methods for the IServiceCollection interface.