The EJ2AzureASPCoreFileProvider.Controllers.AzureProviderController.ToCamelCase should be protected instead of public
EquiAvia opened this issue · 2 comments
The ToCamelCase method is currently public which means that it is detected by API documentation tools such as Swashbuckle\Swagger.
It causes the following error:
Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException: Ambiguous HTTP method for action - EJ2AzureASPCoreFileProvider.Controllers.AzureProviderController.ToCamelCase (Syncfusion.EJ2.FileManager.AzureFileProvider.AspNet.Core). Actions require an explicit HttpMethod binding for Swagger/OpenAPI 3.0
Can we please change it to protected or private please?
Hi @EquiAvia ,
To resolve the Swagger error, we have moved the ToCamelCase method to the model file. Please refer to the changes below.
SyncfusionExamples/azure-aspcore-file-provider#48
Regards,
Keerthana R.
We are closing this issue as part of our routine maintenance due to no activity on it for over a week. If the previously shared solution doesn't resolve the problem or if you have additional information to assist us, please feel free to reopen the issue. Thank you for your understanding