Bug Report Checklist
Description
Spring defaults to naming many beans by either class or method names. When using multiple openapi.yaml files (e.g. for a versioning strategy), these names can collide and fail start up.
In my case the occurrence of multiple EnumConverterConfiguration's produces the issue.
Suggest a fix
Change @configuration Annotation in converter.mustache fixes the issue:
@Configuration(value = "{{configPackage}}.enumConverterConfiguration")
Fix is implemented in PR: #17738
Bug Report Checklist
Description
Spring defaults to naming many beans by either class or method names. When using multiple openapi.yaml files (e.g. for a versioning strategy), these names can collide and fail start up.
In my case the occurrence of multiple EnumConverterConfiguration's produces the issue.
Suggest a fix
Change @configuration Annotation in converter.mustache fixes the issue:
@Configuration(value = "{{configPackage}}.enumConverterConfiguration")Fix is implemented in PR: #17738