kgrzybek / modular-monolith-with-ddd

Full Modular Monolith application with Domain-Driven Design approach.
MIT License
11.15k stars 1.75k forks source link

swagger error: API.xml file not found #320

Open Elie-A-98 opened 7 months ago

Elie-A-98 commented 7 months ago

When running the DevWorkshops.Meetings.API profile, i get the following error on in the SwaggerExtension.cs file on line 30 (on options.AddSecurityDefinition)

System.IO.FileNotFoundException: 'Could not find file 'D:\Workarea\Code\modular-monolith-with-ddd\src\API\CompanyName.MyMeetings.API\bin\Debug\net8.0\CompanyName.MyMeetings.API.xml'.'

kgrzybek commented 7 months ago

Hi @Elie-A-98 , this should help: https://github.com/kgrzybek/modular-monolith-with-ddd/pull/307/files#diff-3c622eae5d9f6e7924a3cb1ad73d1169b2956376786f73cd09284d785650c885R3