SyncfusionExamples / amazon-s3-aspcore-file-provider

This repo contains the ej2-amazon-s3-aspcore-file-provider to access the file system from amazon-s3 to ej-file-manager using asp.net core
15 stars 26 forks source link

Swagger Error #19

Open Syed95github opened 1 year ago

Syed95github commented 1 year ago

image

Did any one face this issue while using AmazonS3AspCoreFileProvider ? My controller is same as it is the example. Exception: An unhandled exception occurred while processing the request. SwaggerGeneratorException: Ambiguous HTTP method for action - EJ2AmazonS3ASPCoreFileProvider.Controllers.AmazonS3ProviderController.AmazonS3FileOperations (Syncfusion.EJ2.FileManager.AmazonFileProvider.AspNet.Core). Actions require an explicit HttpMethod binding for Swagger/OpenAPI 3.0 Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateOperations(IEnumerable apiDescriptions, SchemaRepository schemaRepository)

Stack Query Cookies Headers Routing SwaggerGeneratorException: Ambiguous HTTP method for action - EJ2AmazonS3ASPCoreFileProvider.Controllers.AmazonS3ProviderController.AmazonS3FileOperations (Syncfusion.EJ2.FileManager.AmazonFileProvider.AspNet.Core). Actions require an explicit HttpMethod binding for Swagger/OpenAPI 3.0 Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateOperations(IEnumerable apiDescriptions, SchemaRepository schemaRepository) Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GeneratePaths(IEnumerable apiDescriptions, SchemaRepository schemaRepository) Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GetSwaggerDocumentWithoutFilters(string documentName, string host, string basePath) Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GetSwaggerAsync(string documentName, string host, string basePath) Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context) Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)