OpenAPI - Troubleshooting

I added

1
2
if (environment.IsDevelopment()) 
app.UseDeveloperExceptionPage();

to the startup

http://localhost:62000/swagger/index.html
Gives me my ‘failed to load API definition’ message.

http://localhost:62000/swagger/v1/swagger.json
Gives me a more detailed error

This was the error I was getting:
SwaggerGeneratorException: Conflicting method/path combination “POST calpers/calpers457/transform” for actions - SDA.Services.Vendor.API.Controllers.CalPERSController.TransformTylerDataToCalPersDataAsync (SDA.Services.Vendor.API), SDA.Services.Vendor.API.Controllers.CalPERSController.ValidateProposedCalPERS457XML (SDA.Services.Vendor.API). Actions require a unique method/path combination for Swagger/OpenAPI 2.0 and 3.0. Use ConflictingActionsResolver as a workaround or provide your own implementation of PathGroupSelector.

At least, now I know I know where to start