kgrzybek / modular-monolith-with-ddd

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

Access Swagger UI get 500 internal server error #216

Open cuno92 opened 3 years ago

cuno92 commented 3 years ago

Here is the error log System.InvalidOperationException: Can't use schemaId "$MeetingGroupProposalDto" for type "$CompanyName.MyMeetings.Modules.Administration.Application.MeetingGroupProposals.GetMeetingGroupProposal.MeetingGroupProposalDto". The same schemaId is already used for type "$CompanyName.MyMeetings.Modules.Meetings.Application.MeetingGroupProposals.GetMeetingGroupProposal.MeetingGroupProposalDto" I think there are 2 option for solving this bug

piechpatrick commented 2 years ago

https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/1607#issuecomment-607170559

piechpatrick commented 2 years ago

I have just made an PR for that issue: https://github.com/kgrzybek/modular-monolith-with-ddd/pull/226