Forum Discussion

星小梦's avatar
星小梦
Occasional Contributor
5 years ago
Solved

Why does SpringOpenApi3.0 still need io.swagger.models dependency?

Project current dependencies

io\swagger\core\v3\swagger-models\2.1.2\swagger-models-2.1.2.pom

io\swagger\core\v3\swagger-annotations\2.1.2\swagger-annotations-2.1.2.pom

 

Use OpenApi3.0 annotations, do you still need

io/swagger/models/Swagger: Is the 1.5.X version of the dependency package?

In the Maven warehouse (https://mvnrepository.com/artifact/io.swagger/swagger-models), you can see that it is migrated to the new warehouse location

 

Note: This artifact was moved to:

 

 

So, I want to ask io\swagger\core\v3\swagger-models\2.1.2 Is the dependency package not the migration optimized version of io.swagger:swagger-models: 1.6.2? Why rely on the predecessor of models? swagger -annotation problem is the same