Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access Swagger UI get 500 internal server error #216

Open
cuno92 opened this issue Jun 21, 2021 · 2 comments
Open

Access Swagger UI get 500 internal server error #216

cuno92 opened this issue Jun 21, 2021 · 2 comments

Comments

@cuno92
Copy link

cuno92 commented Jun 21, 2021

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

  • Change Type name of MeetingGroupProposalDto in Administration Module
  • Tweak to the Schema generator to use Full Name of type for schema Id
@piechpatrick
Copy link
Contributor

@piechpatrick
Copy link
Contributor

I have just made an PR for that issue: #226

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants