Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small enhancement - additional option to specify headers #145

Open
japzio opened this issue May 3, 2024 · 1 comment
Open

Small enhancement - additional option to specify headers #145

japzio opened this issue May 3, 2024 · 1 comment

Comments

@japzio
Copy link

japzio commented May 3, 2024

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
Copy link
Author

japzio commented May 15, 2024

might need your review @bnasslahsen
thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant