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 IApplicationBuilder interface. 
- RestfulApiVersionReader
- Represents a RESTful API version reader that reads the value from a filtered list of Accept headers in the request. 
- RestfulApiVersioningOptions
- Provides programmatic configuration for the AddRestfulApiVersioning(IServiceCollection, Action<RestfulApiVersioningOptions>) method. 
- ServiceCollectionExtensions
- Extension methods for the IServiceCollection interface.