Description
We use both the Swagger Gradle plugin "io.swagger.core.v3.swagger-gradle-plugin" and 2 Swagger dependencies swaggerAnnotations and swaggerJaxrs2. The version for the Gradle plugin is in build.gradle while the version for the dependency is in gradle/dependencies.gradle.
When we upgrade the version of one or the other it sometimes cause build breakages, for example https://github.com/apache/kafka/pull/13387 and https://github.com/apache/kafka/pull/14464
We should try to have the version defined in a single place to avoid breaking the build again.