'SwaggerUI standalone doesn't work with swagger.core.v3

I have a problem with SwaggerUI.

My project is composed by several microservice in Java/Maven using Eclipse JavaEE.

I'm using the last standalone version of swagger, and It works with the swagger.core v1.5.21.

I tried to update swagger core to v 2.2.0 but the swagger UI doesn't read the new annotations, It only works with the v 1.5.21 annotations and not with the last version.

Any idea about the problem?

Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source