title: Setting springfox.documentation.enabled=false doesn't disable swagger 3.0
body: <p>I tried to disable Swagger 3.0 in production. Some people posted a solution: add <code>springfox.documentation.enabled=false</code> to application-prod.properties, but it doesn't work in my Spring Boot application.</p>
  <p>I use Spring Initializr to select Spring Boot 2.7.1, Maven, Java 8, spring-boot-starter-web, and spring-boot-starter-actuator. Then I add dependency below to my pom.xml:</p>
  <pre class="lang-xml prettyprint-override"><code>&lt;dependency&gt;
      &lt;groupId&gt;org.springdoc&lt;/groupId&gt;
      &lt;artifactId&gt;springdoc-openapi-ui&lt;/artifactId&gt;
      &lt;version&gt;1.6.4&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  <p>Does anyone have any idea?</p>