aspnet-api-versioning icon indicating copy to clipboard operation
aspnet-api-versioning copied to clipboard

Provides a set of libraries which add service API versioning to ASP.NET Web API, OData with ASP.NET Web API, and ASP.NET Core.

Results 83 aspnet-api-versioning issues
Sort by recently updated
recently updated
newest added
trafficstars

Hi. When I try to get swagger.json for an OData API which exposes only the default version, the following exception occurs: ``` System.NullReferenceException: Object reference not set to an instance...

investigate
asp.net core
odata

I'm cannot figure out how to make Odata Batching to work when using API Versioing. I cannot tell if I'm missing configuration, or whether the issue is with Odata or...

question
answered
asp.net core
odata

Hi I want to use `/v1/orders` or `/v2/orders` pattern using api versioning Well, I configured like: ``` var builder = WebApplication.CreateBuilder(args); ApiVersion apiV1 = new ApiVersion(1); ApiVersion apiV2 = new...

bug
question
asp.net core
external

Rather than copy/paste a whole bunch of code in our API we are trying to add 2 `[MapToApiVersion()]` attributes and then get the version number from the request `HttpContext.GetRequestedApiVersion()`. This...

question
answered

I'm not sure if this is a bug in Versioning, in Swagger, or in my routes. I'm using ASP.NET WebApi and Versioning version 4.1.1. My controller looks like this (I've...

answered
asp.net web api

Fixes issues reported in 6.0 Preview 3: - #823 - #830 - #837 - #839

I've noticed that with Pre-release 2, the ProducesDefaultResponseType doesn't seem to behave the way it did previously. I'm now getting this in SwaggerUI: Previously, it looked like:

bug
answered
asp.net core

My controller has 3 methods of which 2 have an ApiVersionAttribute specified. When my custom IApiVersionSelector is invoked, I expect the ApiVersionModel to have SupportedApiVersions and ImplementedApiVersions empty (or contain...

question

Hello, ApiVersionCollator groups actions by controller name and adds versioning metadata, however it fails to filter the actions list to those that are actually defined as having `ApiBehavior` (as defined...

bug
asp.net core