NOW API Versioning, is a set of extensions to simplify REST API versioning
Simplifies setup and configuration for API Version behavior with Microsoft.AspNetCore.Mvc.Versioning. The middleware provided combines path (URL), query-string and header version-readers. Additionally, a swagger package is provided, which contains extensions to add 'Versioned Swagger' and 'Versioned Swagger UI' documentation.
Branch | Status |
---|---|
master |
Package Name | .NET 7 | |
---|---|---|
ApiVersioning | Preview | |
ApiVersioning.Swagger | Preview |
Clone the repository and run the included ApiTestApplication, the default start-page will be the swagger documentation page, where you can play around with the test controller/endpoint, in combination with Api Versioning.
Additionally, you can visit /allservices
, to display all service registrations. This endpoint
uses the package Ardalis.ListStartupServices.
-
NOW.ApiVersioning
Simplifies setup and configuration for API Version behavior withMicrosoft.AspNetCore.Mvc.Versioning
. The middleware provided combines path (URL), query-string and header version-readers. read more... -
NOW.ApiVersioning.Swagger
This package contains extensions to add a 'Versioned Swagger' and 'Versioned Swagger UI' documentation, using theNOW.FeatureFlagExtensions.ApiVersioning
package. read more...
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information, see the Code of Conduct.