PRANJALI SONI
PRANJALI SONI
@commonsensesoftware ``` [HttpPatch("{Id}")] [Consumes(CommonConstants.ApplicationMergePatchContentType)] [ProducesResponseType(typeof(Models.Entities.Object), StatusCodes.Status201Created)] [ProducesResponseType(typeof(Models.Entities.Object), StatusCodes.Status200OK)] [ProducesDefaultResponseType(typeof(ErrorResponse))] public async Task CreateOrUpdateObjectAsync( [Required][ValidateId(CommonConstants.MaxIdLength, MinIdLength = CommonConstants.MinIdLength)] string Id, [FromBody] Models.Entities.Object farmerUpdate, CancellationToken cancellationToken) { } ``` This is the...
Okay .. @commonsensesoftware To simplify.. Let me give you the exact scenario ..I tried the same on one of your examples .. for the sample used for api-versioning (https://github.com/microsoft/aspnet-api-versioning/tree/master/samples/aspnetcore).. I...
@commonsensesoftware I verified its working without versioning. It gives proper error 415 UnSupportedMediaType. You can verify it once on some sample controllers. Yes, We want "application/merge-patch+json" according to some guidelines....
@commonsensesoftware any updates?
Hiii, @commonsensesoftware I tried again and can still see the issue, let me help you repro the issue in OrdersController of [https://github.com/microsoft/aspnet-api-versioning/tree/master/samples/aspnetcore](https://github.com/microsoft/aspnet-api-versioning/tree/master/samples/aspnetcore) 1. I tried on both versions 5.0.0 and...