I am using 2.4.0. version of the spring-fox. ClassOrApiAnnotationResourceGrouping class is giving deprecated warning while building. In [1] there are no alternatives provided, it only says deprecated. One of the comment in [2] says that it will be used until next release, but how can I avoid getting these warnings while building from cmd?
Relative links:
[1]http://springfox.github.io/springfox/javadoc/2.7.0/springfox/documentation/swagger/web/ClassOrApiAnnotationResourceGrouping.html
[2]https://github.com/springfox/springfox/issues/1307
To use ClassOrApiAnnotationResourceGrouping Deprecated class in springfox dependency library to group using Api annotation.
Configure the blah bean with an implementation of the resource grouping strategy
Replacement for this Deprecated Api annotation of class ClassOrApiAnnotationResourceGrouping is
apiListingReferenceScanner.setResourceGroupingStrategy(springSwaggerConfig.defaultResourceGroupingStrategy());
More: https://github.com/komoot/swagger-springmvc
Deprecated Class ClassOrApiAnnotationResourceGrouping springfox info : http://springfox.github.io/springfox/javadoc/2.7.0/index.html?springfox/documentation/service/ApiInfo.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With