kgrzybek / modular-monolith-with-ddd

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

swagger error: API.xml file not found #320

Open Elie-A-98 opened 4 months ago

Elie-A-98 commented 4 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 4 months ago

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