Darius Cooper created CAMEL-13126:
-------------------------------------
Summary: For Swagger, add an option whether to use X-Forward
headers
Key: CAMEL-13126
URL: https://issues.apache.org/jira/browse/CAMEL-13126
Project: Camel
Issue Type: Improvement
Reporter: Darius Cooper
An earlier JIRA: CAMEL-12855 created an issue where the forwarded header could
be used to set the "host" for Swagger. This overwrote the old behavior where
one could specify a "hard-code" host in the RestConfiguration.
Add an option to control whether these x-forward headers should be applied or
not, to have the old behavior vs the new. (e.g. useXForwardHeaders = true/false)
[[email protected]], would the default be the new behavior (using the headers),
or the old behavior (do not use the headers) ?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)