[REQ] A way to access a non-duplicated set of all APIs with multiple tags
Created by: hallami
Is your feature request related to a problem? Please describe.
Right now, all APIs are bundled by their tags. APIs with multiple tags end up in multiple bundles, meaning duplicates of those APIs. I'd like a way to access a set (no duplicates) of the APIs.
Describe the solution you'd like
I'd like for there to either be a data section added under/around the apiInfo section that has the APIs not grouped by tags, or for there to be a flag that makes the generator ignore the tags attached to apis.
Describe alternatives you've considered
Going through and stripping out the tags
This means that I'm changing the specification, even if it shouldn't alter any performance.
Manually revising the output
This isn't practical and means that we can't run with the output straight out of the box.
Including tags in the naming schema
This skirts past the name collision issue, but then you still have totally duplicated code with a more confusing name scheme.
Additional context
I've found 3 previous issues that have ran into this same core problem that weren't submitted as requests: https://github.com/OpenAPITools/openapi-generator/issues/312 https://github.com/OpenAPITools/openapi-generator/issues/2844 https://github.com/OpenAPITools/openapi-generator/issues/8121