title: How to change the name of the authorization key in the request header in the swagger-ui generated by springdoc-openapi-ui
body: <p><strong>My OpenAPI configuration</strong></p>
  <p>I need to change the header key from authorization to Authorization-internal</p>
  <pre><code>    @Bean
      public OpenAPI customOpenAPI(OpenApiConfig config) {
          return new OpenAPI().addSecurityItem(new SecurityRequirement().addList(&quot;security-schemes&quot;))
              .components(new Components().addSecuritySchemes(&quot;security-schemes&quot;, securitySchema()))
              .info(new Info().title(config.getTitle()).contact(contact())
              .version(config.getAppVersion())
              .description(config.getDescription())
              .termsOfService(&quot;https://www.batata.com.br/site/&quot;)
              .license(new License().name(&quot;Banco - Batata 1.0&quot;).url(&quot;https://www.batata.com.br/site/&quot;)));
      }
  
      private Contact contact() {
          return new Contact().name(&quot;Banco Batata&quot;).url(&quot;https://www.batata.com.br/site/&quot;).email(&quot;developer@batata.com&quot;);
      }
  
      @Bean
      private SecurityScheme securitySchema() {
          return new SecurityScheme().type(SecurityScheme.Type.HTTP).scheme(&quot;bearer&quot;).bearerFormat(&quot;JWT&quot;)
                  .in(SecurityScheme.In.HEADER).name(&quot;Authorization-internal&quot;);
      }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/UROOy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UROOy.png" alt="Generated image" /></a></p>