You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Darius Cooper (JIRA)" <ji...@apache.org> on 2019/01/25 18:04:00 UTC

[jira] [Created] (CAMEL-13126) For Swagger, add an option whether to use X-Forward headers

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)

[~cibsen@e-ma.net], 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)