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

``` /usr/share/dotnet/sdk/5.0.408/NuGet.targets(131,5): error : Failed to retrieve information about 'Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer' from remote source 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.mvc.versioning.apiexplorer/index.json'. [/builds/dsi/sipp/sipp-apps/api/src/SIPPApi.sln] /usr/share/dotnet/sdk/5.0.408/NuGet.targets(131,5): error : The content at 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.mvc.versioning.apiexplorer/index.json' is not a valid JSON object. [/builds/dsi/sipp/sipp-apps/api/src/SIPPApi.sln] /usr/share/dotnet/sdk/5.0.408/NuGet.targets(131,5):...

question
external

Asp.Versioning.Mvc.ApiExplorer:6.0.0-preview.3 netcore:net6 After the `UseExceptionHandler` is enabled, an "NullReferenceException" is thrown when the interface exception occurs. Program.cs: ``` using Asp.Versioning; var builder = WebApplication.CreateBuilder(args); builder.Services.AddControllers(); builder.Services.AddExceptionHandler(options => options.ExceptionHandler= async(http)=> {...

bug
asp.net core

Hi. When a property is ignored/excluded from the EDM the following exception is thrown when generating swagger.json: `InvalidOperationException: Can't use schemaId "$B" for type "$A.B". The same schemaId is already...

odata
triage

Framework: netcoreapp3.1 I'm having an issue with OData API versioning. When I don't use ODataQueryOptions in the action method, I received that the API version is not supported. Here example...

asp.net core
odata

I used Microsoft.AspNetCore.OData.Versioning.ApiExplorer nuget. The question is, how to correct mark controller, in order to **route** will valid? See the example, for more details: ``` public class OrderModelConfiguration : IModelConfiguration...

question
answered
asp.net core
odata

Hi, I have been playing around with Minimal APIs in .net 6 using the pre-release version of ASP.Versioning https://github.com/trouaux/minimal-api-playground In this repo I have a small sample project where I...

question
answered
asp.net core

For minimal apis, i miss methods to add descriptions ```csharp app .DefineApi("People") .HasMapping(api => { api.MapGet("/api/v{version:apiVersion}/people/{id:int}", (int id) => "Some response") .Produces(response => response.Body()) .Produces(404) .HasApiVersion(1.0) ; }); ``` Produces:...

bug
answered
asp.net core

Hi. Thank you for your continued support. I wanted to test out the new 6.0 package, but I'm getting the following error when trying to add the NuGet package to...

bug
asp.net core
odata

The implementation could be made more generic by using endpoint metadata directly instead of the ActionDescriptor to stash the API information. Instead of doing [SetProperty](https://github.com/microsoft/aspnet-api-versioning/blob/e16b579d240574053ebd8e7ee38c8686beaee174/src/Microsoft.AspNetCore.Mvc.Versioning/Versioning/Conventions/ActionApiVersionConventionBuilderBase.cs#L60) the data could be stored...

enhancement
asp.net core
feature

Will support for odata 8 be included in the 5.0 release ?

question
answered
odata