danieleteti / delphimvcframework

DMVCFramework (for short) is a popular and powerful framework for WEB API in Delphi. Supports RESTful and JSON-RPC WEB APIs development.
Apache License 2.0
1.22k stars 351 forks source link

SwaggerDoc - duplicated mapping key error #670

Open thealgorithms10 opened 1 year ago

thealgorithms10 commented 1 year ago

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 commented 1 year ago

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

danieleteti commented 12 months ago

Any news about this?

TomBuzin commented 2 months ago

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...