title: How to change swagger-ui endpoint that generates configuration (/v3/api-docs/swagger-config)
body: <p>I have a service that creates a swagger-ui endpoint. I want this endpoint to be hosted on a path different than default (due to Kubernetes ingress rules). This is easily achieved on springdoc swagger by using</p>
  <pre><code>springdoc.swagger-ui.path=/myPath/swagger-ui/index.html
  </code></pre>
  <p>However it is trying to access configuration from a default url</p>
  <pre><code>/v3/api-docs/swagger-config
  </code></pre>
  <p>Unfortunately I also need this url to be on specific path. I know there is a setting to specify a path to look for swagger-config, namely:</p>
  <pre><code>springdoc.swagger-ui.configUrl=/myPath/v3/api-docs/swagger-config
  </code></pre>
  <p>However this isn't what I'm looking for. This setting lets you specify a different source of configuration and then you need to create a resource on specified path or the resource will not be found. If I understand correctly, the default path /v3/api-docs/swagger-config is some kind of endpoint that is automatically creates/generates the resource without requiring user to create it.</p>
  <p>What I am looking for is a way to have access to this automatically generated config on a different path. Something that would say &quot;Generate and return me your default configuration if I access /myPath/v3/api-docs/swagger-config instead of /v3/api-docs/swagger-config&quot;. Preferably by entry in application.properties or overriding some behavior in application code</p>
  <p>Does anyone know how this can be achieved?</p>