springdoc-openapi-gradle-plugin icon indicating copy to clipboard operation
springdoc-openapi-gradle-plugin copied to clipboard

Small enhancement - additional option to specify headers

Open japzio opened this issue 9 months ago • 0 comments

Added requestHeaders map to be able to specify additional headers. Can be used if apidocs url is protected by basicAuth or setting custom url to generated openapi spec json|yaml

     requestHeaders = [
       "x-forwarded-host": "custom-host",
       "x-forwarded-port": "7000"
    ]

Ref feature https://github.com/springdoc/springdoc-openapi-maven-plugin

japzio avatar May 03 '24 21:05 japzio