I have a controller class in asp.net core that is generated with nswag studio. The attributes that are autogenerated route for an OPTIONS preflight call. Not sure if I'm doing something wrong in other configuration or if the generated code is incorrect.
I have a controller class in asp.net core that is generated with nswag studio. The attributes that are autogenerated route for an OPTIONS preflight call. Not sure if I'm doing something wrong in other configuration or if the generated code is incorrect.
[Microsoft.AspNetCore.Mvc.HttpPut, Microsoft.AspNetCore.Mvc.Route("api/resource/{id}")] public System.Threading.Tasks.Task<FileResponse> ApiGeneratedMethod(System.Guid id, [Microsoft.AspNetCore.Mvc.FromBody] Resource resource) { }