I need in my spring boot application FF4j. I try
<dependency>
<groupId>org.ff4j</groupId>
<artifactId>ff4j-spring-boot-starter</artifactId>
<version>1.8</version>
</dependency>
and in this case my application is broken because of swagger.
can I exclude org.ff4j.spring.boot.web.api.config.SwaggerConfig from my configuration?
I tried to manage it but cant reach final solution because of new different issues.
In case you configure
swaggerin your application in usual case it will be failed because of different reasons. Possible next ones:api;swagger conflict because two different
Docketbeans in same spring context;Firstly I tried to exclude
ff4j-springauto configuration configuring steps in similar way but excludingswaggerfor example. Application can't startff4jwithout their swagger. That's confused a lot.Looking different solutions I tried follow some recommendations like but I'm getting different issue with missed class for my application. Missed class is in
thymeleaf5. I can't usethymeleaf5because of it uses same name interface but different arguments. Additional workarounds make my application failed because of hibernate.Swagger solution is:
in your configuration inject
swaggerDocketfromff4j:and rewrite
apiwith your configuration in@PostConstructblock. This solution is not elegant, but provides fix for swagger configs.P.S.
After swagger issue I've got more unresolved elements (but that's will be a different questions).
P.S.2.
FF4jlibrary provides great UI and ideas and this is general reason why I do not avoid of its headache.