- ABP Framework version: v4.4
- UI type: Blazor
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): / no
- Exception message and stack trace:
ERR] An unhandled exception has occurred while executing the request.
Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException: Conflicting method/path combination "GET api/app/nordigens" for actions - Life.Controllers.Nordigens.NordigenController.GetListAsync (Life.HttpApi),Life.Controllers.Nordigens.NordigenController.BanksAsync (Life.HttpApi). Actions require a unique method/path combination for Swagger/OpenAPI 3.0. Use ConflictingActionsResolver as a workaround
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateOperations(IEnumerable`1 apiDescriptions, SchemaRepository schemaRepository)
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GeneratePaths(IEnumerable`1 apiDescriptions, SchemaRepository schemaRepository)
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GetSwagger(String documentName, String host, String basePath)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at IdentityServer4.Hosting.IdentityServerMiddleware.Invoke(HttpContext context, IEndpointRouter router, IUserSession ...
Ive followed the same process to add a api endpoint from before and its not working. can you point me at the document to help me with this please?
- Steps to reproduce the issue:"
8 Answer(s)
-
0
Conflicting method/path combination "GET api/app/nordigens" for actions - Life.Controllers.Nordigens.NordigenController.GetListAsync (Life.HttpApi),Life.Controllers.Nordigens.NordigenController.BanksAsync (Life.HttpApi). Actions require a unique method/path combination for Swagger/OpenAPI 3.0. Use ConflictingActionsResolver as a workaround
hi
Can you share the code of
NordigenController?Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
whats your github ill share the project
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
added you
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
in which file should this be?
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Found it, all sorted now. thanks
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
https://github.com/jhallam3/Life/blob/c96807bfefd4d112be5589b454d595cf46b6ee58/aspnet-core/src/Life.HttpApi/Controllers/Nordigens/NordigenController.cs#L31
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)