aspnet-api-versioning
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.
We are using 4.1.1 version of APiVersioning and 3.1 version of Asp.NetCore I have a controller with an action which accepts only Content-Type "application/merge-patch+json" ``` [HttpPatch("{id}")] [Consumes("application/merge-patch+json")] public async Task...
I pulled the sample aspne-api-versioning and tried adding $batch to the ODataBasicSample project and it did not work. I followed the instructions in the wiki but still nothing. It seems...
It appears that version 4.2.0 has reintroduced the previously resolved issue #423 as a regression, possibly in commit de9bc84e587cbd3914c923833d7d580747261c81 - although I haven't looked into this in great detail. When...
I'm trying to generate my Swagger Pages for my OData Service (using 8.0.1). My EdmModel has hierarchy recursion, and I can see the PseudoModelBindingVisitor.Visit is going nuts as a result....
Hello again, Been appreciating the help I've been getting so far! Two issues here which I can split if that's more helpful. The main issue (for which I don't have...
Related to #599 If I use ODataQueryOptions as an action parameter, the swagger doc gets very verbose:  ```csharp [EnableQuery] [HttpGet] public IQueryable Get(ODataQueryOptions options) {} ``` ```csharp app.UseEndpoints(endpoints =>...
We are using **Microsoft.AspNetCore.OData (v7.4.0)** with AspNet Core Rest API's. The endpoints enabled with OData has _**Complex type object as parameter**_ - which is working fine. Now we are trying...
Hello, I have a custom routing convention, and it worked perfectly fine with .net 3.1, but during migration to .net 5 I faced with error. Simple steps to reproduce: In...
If i defined a single method for GET in the ApiVersioning/SwaggerODataSample `public SingleResult Get( [FromQuery] int? dummy = 1 ) ...` i will get the result `{ "error": { "code":...
### Is there an existing issue for this? - [X] I have searched the existing issues ### Describe the bug We use this library for versioning of a .NET 6.0...