I am trying to implement Spring Condition org.springframework.context.annotation.Conditionas follows:
org.springframework.context.annotation.Condition
public class APIScanningDecisionMaker impl
Maybe spring doesn't know the file ?
This can be fix on annotated your class where the @Value("${swagger.scanner.can.run}")is used :
@Value("${swagger.scanner.can.run}")
@PropertySource(value="classpath:config.properties")
Regards,