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

SwaggerDoc - duplicated mapping key error #670

Open
thealgorithms10 opened this issue Jul 6, 2023 · 3 comments
Open

SwaggerDoc - duplicated mapping key error #670

thealgorithms10 opened this issue Jul 6, 2023 · 3 comments
Assignees

Comments

@thealgorithms10
Copy link

thealgorithms10 commented Jul 6, 2023

Good day! I was migrating from dmvc-3.2.1 carbon to latest 3.3.0-fluorine. I haven't any changes yet but my SwaggerDoc was prompting error "duplicated mapping key" upon loading/openning. Note that there were no errors been occurred during at my 3.2.1-carbon. Probably there were wrong approaches applied during at my development using dmvc-3.2.1 carbon but I can't diagnose further on where it was been started ocurring/cause of occurrence. Where should I start checking it?

image

@danieleteti
Copy link
Owner

Can you produce a self-contained example to show the problem? It's quite difficult to reproduce the problem without it.

@danieleteti
Copy link
Owner

Any news about this?

@TomBuzin
Copy link

Hello everyone,
it's been a year, but maybe this will help someone...
I faced the same situation, I was not able to find where I have the duplicate mapping.
Only the online validator https://apitools.dev/swagger-parser/online/ and validating json content from /api/swagger.json helped...

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

No branches or pull requests

4 participants