Migrate Core-Common API models From Swagger to Swagger-Jakarta
As discussed: !4 (comment 301868)
We've done swagger migration for all services, but not for libraries. We need to update core-common. Move from:
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-models</artifactId>
<version>${swagger-models.version}</version>
</dependency>
To
<dependency>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-annotations-jakarta</artifactId>
<version>2.2.21</version>
</dependency>
As per the guide: https://springdoc.org/#migrating-from-springfox